• Resolved dfel

    (@dfel)


    Hi Frank,

    The lazy load AO feature is not picking up the woocommerce product single gallery photos. Is it not woo compatible or did I do something wrong? The images are all set with class=”woocommerce-product-gallery__image”

    thanks

    Douglas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    In some cases AO does not lazyload images (e.g. when the image tag already has a data-src), so it really depends on the way the images are added to the gallery really. If you can share a URL I’ll be happy to have a look ??

    frank

    Thread Starter dfel

    (@dfel)

    Hi Frank,

    thank you for the prompt reply! Here is a link:

    https://www.crafthardware.de/produkt/fill-station-tri-clamp-gda/

    Douglas

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, AO can’t lazyload those as they’re not <img with a src but <div with data-thumb instead. That being said; the images are loaded (somewhat) later, as they require JavaScript (jQuery flexslider) to be rendered. assuming that JS is autoptimized, the images will become visible when the deferred JS is executed.

    hope this helps/ clarifies,
    frank

    Thread Starter dfel

    (@dfel)

    yes it does! thanks much.

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