• Resolved hardhatengineer

    (@hardhatengineer)


    Hi, I am using ShortPixel to serve WebP and Avif images using <picture> tag. But when I activate lazy load in Autoptimize, it stops serving WebP and Avif images and loads only jpg and png. Is there any way to solve this?

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

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

    (@optimizingmatters)

    I *think* Shortpixel have their own lazyload optoin, maybe try that instead hardhatengineer ? Additionally; if you disable lazyload, WordPress default “native lazyload” (loadin=lazy is recognized by almost all browsers) should kick in, so you might even be good with that?

    Thread Starter hardhatengineer

    (@hardhatengineer)

    Shortpixel has two plugin now. The regular SIOP don’t have lazy loading but with Adaptive image has that. To use their lazy loading option, I have to use their CDN.

    I am happy with native option as well but it looks like they are removing that tags from the html. So it is also not working.

    is there any filter to ads native lazy loading tag to picture element?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I think Shortpixel replaces (enhances) the default image tags with the picture tag and they they are removing/ hiding the loading attribute? Might be best to take the question to them? ??

    Thread Starter hardhatengineer

    (@hardhatengineer)

    Yes, I thought your plugin has some options to use lazy loading with picture tag so I asked here. Anyway thanks for support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Webp and Avif not showing when Lazy Load is active’ is closed to new replies.