• Resolved rontap.cado

    (@rontapcado)


    Hi,

    I already followed every step to fix this but can’t find a solution.

    – webp files exist;
    – removed any lazyload to make sure it’s not causing issues with this;
    – images shown are from modula gallery plugin, added to the page using a shortcode and images are requested via img element;
    – ran an advanced debug log but there’s simply no mention of webp replacement at all. https://pastebin.com/FfZ5AryQ

    The ideal situation would be to fix this and be able to enable lazyload back again afterwards.

    Thanks

    • This topic was modified 3 years, 9 months ago by rontap.cado.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The ideal situation would be to fix this and be able to enable lazyload back again afterwards.

    There is nothing to fix. webp replacement would work on your site. This LScache feature searches for <img src="" > in HTML Code, but your gallery plugin is Javascript driven and uses <img data-src=""> to display the images, so the problem is that this gallery plugin has a fallback to standard HTML code to display images only if Javascript is enabled and that’s why LScache plugin can’t replace the images.

    Thread Starter rontap.cado

    (@rontapcado)

    Thanks for the quick reply. In the end I added some attributes in the ‘webp attribute to replace’ and it worked.

    Also I was testing with Safari, when changed to Chrome everything seems to be working now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Webp not replacing’ is closed to new replies.