• Resolved altfgcom

    (@altfgcom)


    Hello,

    WebP seems to be working fine for images found in posts.

    But the banner image and the thumbs found in the Related Posts/Top Posts areas are still being served in the jpg format (Google/GT Metrix/WebPageTest tests).

    We have the JS WebP Rewriting box checked (the suggested .htaccess rules didn’t work for us).

    We’ve tried checking Force WebP, but that not only slowed down the rendering of the page but it also continued to serve the banner/widget images as jpgs.

    Anything we could do at our end?

    Any assistance would be much appreciated.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    None of those images are being served as WebP with your current configuration, because they use background images.

    However, background images can be served via JS WebP + Lazy Load (on the Easy Mode tab), but this is currently limited to div elements, and the related posts are using link/a elements instead.
    It is planned to extend JS WebP (via lazy loading) to span, li, and section elements, but links are not on the list (yet).

    The banner image IS on a div element, but the CSS background image code is in a separate block in the table, which is not a scenario that can be lazy loaded at all at this point, thus WebP is not possible. If you can change that so the background image is using a style attribute, just like the related posts, then JS WebP + Lazy Load would be able to handle it in the current release.

    Thread Starter altfgcom

    (@altfgcom)

    Will look into that.

    Thank you for your reply and detailed explanation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Banner/Widget images not served as WebP’ is closed to new replies.