• Resolved ablavetementenfant

    (@ablavetementenfant)


    Hello,

    I need some help about the GTMetrix warning “defer offscreen image” for 5 images that are in the constant background of my theme.
    My Litespeed cache for lazy loading is On (so it works for every images) but not theses pictures.

    What could be the solution to lazy load theses pictures ?

    https://www.abla-vetement-enfant.fr/wp-content/uploads/2021/11/scene.webp 	15.9KB 	15.9KB
    	https://www.abla-vetement-enfant.fr/wp-content/themes/babystreet/image/wave-bot.png 	6.13KB 	6.13KB
    	https://www.abla-vetement-enfant.fr/wp-content/themes/babystreet/image/wave-mid.png 	5.34KB 	5.34KB
    	https://www.abla-vetement-enfant.fr/wp-content/themes/babystreet/image/wave-top.png 	4.51KB 	4.51KB
    	https://www.abla-vetement-enfant.fr/wp-content/themes/babystreet/image/001-rocking-horse.png 	3.25KB 	3.25KB

    Thanks, best regards !

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    lazyload can only work on images that is loaded by <img tag , but these images are loaded by CSS, so it won’t work there

    Best regards,

    Thread Starter ablavetementenfant

    (@ablavetementenfant)

    Hi, thanks a lot !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Defer offscreen image – Theme’ is closed to new replies.