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

Is there anyway for imgLiquid to work with lazy loaded images? #41

Open
devonmather opened this issue Feb 14, 2015 · 3 comments
Open

Is there anyway for imgLiquid to work with lazy loaded images? #41

devonmather opened this issue Feb 14, 2015 · 3 comments

Comments

@devonmather
Copy link

I'm working to get imgLiquid to work in tandem with http://kenwheeler.github.io/slick/

But using the lazy loading provided by Slick is causing the images to not show up at all when using imgLiquid, i've tried attaching the function to various callbacks in Slick but no luck so far.

Regards,
Devon Mather

@fwertz
Copy link

fwertz commented Apr 16, 2015

I've had success with using https://github.com/toddmotto/echo

@qasimzee
Copy link

Any code example for this ?

@daviddriker
Copy link

this works perfectly

echo.init({ offset: 100, throttle: 250, unload: false, callback: function (element, op) { $(element).parent().addClass('imgLiquidFill'); $(".imgLiquidFill").imgLiquid(); } });

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

4 participants