Viewing 4 replies - 1 through 4 (of 4 total)
  • It’s not just you ??

    Featherlight doesn’t support .webp yet because browser support is so limited. From what we’ve seen Chrome is the only browser that currently supports that format. We’ll likely add support to this plugin once the format has wider browser adoption. Thanks for checking in!

    I’ve just run across this. Maybe I’m being a bit simplistic, but isn’t this just a matter of adding webp to the list of extensions to check? Everywhere you have jpg, add webp as well? Featherlight does such a beautiful job, but I just can’t have webp and featherlight at the same time.

    Plugin Author Robert Neu

    (@fatmedia)

    Hey sdayman,

    It’s true that we could add .webp into the JS that searches for images to be lightboxed, but the format is still completely unsupported by three major browsers. WordPress core doesn’t allow it by default, so even if we were to enable it, most people wouldn’t be able to use it without an additional plugin or custom code.

    I’m not really comfortable adding support for it until it’s been added to core, so until this ticket is resolved I most likely won’t add it. If you’d like to press the core developers to add support for it, please get involved in that ticket!

    Understood. That ticket isn’t gaining any traction. On the one hand, that *one* browser that supports it is the most popular. On the other hand, it’d be unwise to support a format that may soon be abandoned.

    p.s. To the original poster, it’s easy to go through the Featherlight JS code and add the webp extension everywhere you see the other extensions. But remember, as stated above, it’s unsupported.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘.webp images = no lightbox?’ is closed to new replies.