imgLiquid icon indicating copy to clipboard operation
imgLiquid copied to clipboard

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

Open devonmather opened this issue 9 years ago • 3 comments

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

devonmather avatar Feb 14 '15 02:02 devonmather

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

fwertz avatar Apr 16 '15 18:04 fwertz

Any code example for this ?

qasimzee avatar Jun 24 '15 16:06 qasimzee

this works perfectly

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

daviddriker avatar Jun 28 '15 11:06 daviddriker