Jump to content

Recommended Posts

Posted

Hi guys!
Sorry, I use google translate.
The question of optimization is ripe ...
I want to convert all images to WebP
Accordingly, the question is brewing:
How "safe" is it?
Will all our links break?
If you did the conversion to webp on the server side, give a couple of tips please.

Posted

The IPB software is not going to convert existing images to WebP for you.  However if you use an offline tool that creates a WebP version of an image for you, you could use something like .htaccess to detect if the device can support the WebP format and serve that version if it exists in the same folder.

Something like:

https://github.com/vincentorback/WebP-images-with-htaccess

This should be pretty safe as it's both backwards compatible with older non-supported devices and if the WebP version does not exist gracefully falls back to the original version.  

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...