• Hi,

    I use EWWW Image Optimizer to optimize the images on my website and to automatically convert them to WebP format. In addition, EWWW Image Optimizer also automatically loads the WebP version of an image via “Picture WebP Rewriting”, leaving the JPG version as a fallback. This also works fine.

    Only with pictures that are clicked and then appear large in the fancybox, this does not work. Here only the JPG version is displayed, although there is a WebP version.

    What is the reason for this? Do I have to adjust the fancy box? Even if I enter “WebP” in the settings in the file extensions area, it does nothing.

    Can someone help?

    Greetings

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @dajanas the plugin takes the media link and opens that in the light box. I suspect the EWWW plugin only replaces the embedded images with webp version but does not alter the link to the full size version itself.

    Thread Starter dajanas

    (@dajanas)

    Maybe because the link to the large image only appears in the source code as soon as you click on it? Because only then the fancybox reacts? In any case, you can see in the source code that the image only appears after a click. Maybe this can be optimized so that EWWW does this correctly with these fancybox objects?

    If there is no link in the source code from the start, Easy FancyBox will not be able to detect and bind itself to it. If EWWW does not replace the full size media link with a webp version, then there is nothing that Easy FancyBox can do about it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Click does not open WebP version of images’ is closed to new replies.