• Resolved cybmeta

    (@cybmeta)


    Hi!!

    I’m working with a bootstrap carousel and the initial active image is correctly lazy laoded, but not the others.

    When a carousel image slides and enters the viewport, it is lazy loaded only if some scrolling is done but just when the image enters the viewspot. Is there any JS method in your plugin I can attach to bootstrap slide event?

    • This topic was modified 6 years, 4 months ago by cybmeta.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cybmeta

    (@cybmeta)

    I did it with new LazyLoad(window.layzloadOptions);. For some reason it was not working without passing options. If there is a better way, I wouuld like to know.

    BTW: Thanks for the plugin!!

    Plugin Author WP Media

    (@wp_media)

    Hi,

    Could you give a try to the latest update and tell me if it works better now?

    We added improvements to the lazyload script that should solve a number of issue with things like sliders and carousels

    Thread Starter cybmeta

    (@cybmeta)

    Thank you for the update. IntersectionObserver does a good job for carousel, but the new version has introduced a new bug. The plugin tries to load the script version 8.5.2 if browser doesn’t support IntersectionObserver, but the correct script version bundled with plugin is 8.2, so it fails for browsers that don’t support IntersectionObserver. It is just a misstyped I think.

    Plugin Author WP Media

    (@wp_media)

    Thank you for reporting indeed the correct version of the script was missing, this is fixed with v1.4.6

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lazy loadinf of carousel images’ is closed to new replies.