Skip to content

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

Open

Description

@devonmather

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

Activity

  1. fwertz commented on Apr 16, 2015

    @fwertz

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

  2. qasimzee commented on Jun 24, 2015

    @qasimzee

    Any code example for this ?

  3. binaryghost7 commented on Jun 28, 2015

    @binaryghost7

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions