Jump to content

Convert all images to WebP?

Recommended Posts

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:


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.  

Link to comment
Share on other sites

  • Recently Browsing   0 members

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