Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LazyLoad cropping images on Avada image carousel #39

Open
AliceOrru opened this issue Dec 27, 2017 · 1 comment
Open

LazyLoad cropping images on Avada image carousel #39

AliceOrru opened this issue Dec 27, 2017 · 1 comment
Assignees

Comments

@AliceOrru
Copy link

Website: https://www.plantphenomics.org.au/

This is the image carousel, LazyLoad off:
http://jmp.sh/RhlessO

This is when LazyLoad for images is on:
http://jmp.sh/wIDojAR

Ticket: https://secure.helpscout.net/conversation/490256421/55954?folderId=628132

I tested it in our megasite, and looks like is working there:
http://mega.wp-rocket.me/avada/about-me/
Slider: http://jmp.sh/TOCKOKX

@arunbasillal
Copy link

I think this is a theme level issue. I have added my findings to the above ticket.

Basically the size of the carousel container is calculated in jQuery based on the height of the image. Since placeholder image is only 1x1, the height is messed up.

Since LL expects the theme to handle the image dimensions and does not mess with it, not sure we can handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants