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

Integrate Lazy Load XT with slider/carousel #104

Open
voodoo6 opened this issue Feb 24, 2017 · 3 comments
Open

Integrate Lazy Load XT with slider/carousel #104

voodoo6 opened this issue Feb 24, 2017 · 3 comments

Comments

@voodoo6
Copy link

voodoo6 commented Feb 24, 2017

Hi,

I have a slider/carousel that will not load Lazy Load XT-enabled image until a mouse/scroll event take places. The first image loads then subsequent images don't not appear until a mouse/scroll event which causes lazy load to kick in the image appears.

See here for test page, notice how the first image loads and subsequent images in the slider don't – but if you scroll or use mouse, the image appears : http://tenfold.webflow.io/slider-lazy-load-test

The slider/carousel I am using has the ability to be 'redrawn' using:
Webflow.require('slider').redraw();

My javascript/JQuery skills are lacking. Could you help me with a code example of how would I would use Lazy Load XT's events to lazy load the images in my slider/carousel?

Many thanks for any advice

@voodoo6 voodoo6 changed the title Help integrating Lazy Load XT with slider How to integrating Lazy Load XT with slider/carousel Feb 24, 2017
@voodoo6 voodoo6 changed the title How to integrating Lazy Load XT with slider/carousel How to integrate Lazy Load XT with slider/carousel Feb 24, 2017
@voodoo6 voodoo6 changed the title How to integrate Lazy Load XT with slider/carousel Integrate Lazy Load XT with slider/carousel Feb 24, 2017
@rhml3000
Copy link

Also having a similar issue. Any resolution for this?

@voodoo6
Copy link
Author

voodoo6 commented Dec 13, 2017

Hi @rhml3000 – I ended up using another lazy loader called Lazy Sizes which worked fine with my sliders/carousels

@rhml3000
Copy link

That's brilliant! Thank you so much!!

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

2 participants