• Resolved simd59

    (@simd59)


    Hello,

    i’ve integrated a source image that depends if we are in mobile or desktop declared like this :

    <a id="img-coco-home" href="/categorie-produit/coco-party/">
    <picture>
      <source srcset="https://mywebsite.fr/wp-content/uploads/2018/10/noix-de-coco-home-3.png 1140w" media="(min-width: 991px)">
      <source srcset="https://mywebsite.fr/wp-content/uploads/2013/06/noix-de-coco-home-mobile.jpg 570w" media="(min-width: 360px)">
      <img width="1140" height="400" src='https://mywebsite.fr/wp-content/uploads/2013/06/noix-de-coco-home-mobile.jpg' sizes="100vw" alt="">
    </picture>
    </a>

    and the img generate by lazy loading is with :

    <picture> 
    <source srcset="https://mywebsite.fr/wp-content/uploads/2018/10/noix-de-coco-home-3.png 1140w" media="(min-width: 991px)"> 
    <source srcset="https://mywebsite.fr/wp-content/uploads/2013/06/noix-de-coco-home-mobile.jpg 570w" media="(min-width: 360px)"> 
    <img class="lazy-loaded" width="1140" height="400" src="https://mywebsite.fr/wp-content/uploads/2013/06/noix-de-coco-home-mobile.jpg" data-lazy-type="image" data-src="https://mywebsite.fr/wp-content/uploads/2013/06/noix-de-coco-home-mobile.jpg" sizes="100vw" alt=""> 
    </picture>

    so it should work but it’s not working only for this image (and for all in the footer tag…). All other images lazy loading perfectly.

    Is it a bug from a3 lazy load ? Or am i missing something ?

    Lazy loading Version 1.9.1
    WordPress Version 4.9.8
    Woocommerce Version 3.5.1

    Thank you

    • This topic was modified 6 years ago by simd59.
    • This topic was modified 6 years ago by simd59.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Lazy Loading with Picture/source/img’ is closed to new replies.