More than 9 out of 10 users are using a browser that is able to display webp images. Yet, on most websites, they are served jpeg images, which are typically double the size of webp images for a given quality. What a waste of bandwidth! This plugin was created to help remedy that situation. With little effort, WordPress admins can have their site serving autogenerated webp images to browsers that supports it, while still serving jpeg and png files to browsers that does not support webp.
The plugin uses the WebP Convert library to convert images to webp. WebP Convert is able to convert images using multiple methods. There are the “local” conversion methods: imagick
, cwebp
, vips
, gd
. If none of these works on your host, there are the cloud alternatives: ewww
(paid) or connecting to a WordPress site where you got WebP Express installed and you enabled the “web service” functionality.
The plugin supports different ways of delivering webps to browsers that supports it:
The plugin implements the “WebP On Demand” solution described here and builds on a bunch of open source libraries (all maintained by me):
– WebP Convert: For converting images to webp
– WebP Convert Cloud Service: For the Web Service functionality
– DOM Util for WebP: For the Alter HTML functionality
– Image MimeType Guesser: For detecting mime types of images.
– HTAccess Capability Tester: For testing .htaccess capabilities in a given directory, using live tests
– WebP Convert File Manager: For browsing conversions and triggering conversions.
– Exec With Fallback: For emulating exec() on systems where it is disabled (using proc_open(), passthru() or similar alternatives).
Bread on the table don’t come for free, even though this plugin does, and always will. I enjoy developing this, and supporting you guys, but I kind of need the bread too. Please make it possible for me to continue wasting time on this plugin:
Persons who recently contributed with ko-fi – Thanks!
* 3 May: Jonas
* 27 Apr: Jonas
* 7 Apr: Anuar
* 30 Mar: Michael Schober
* 17 Mar: bluesix
* 13 Mar: Troglos
Persons who contributed with extra generously amounts of coffee / lifetime backing (>30$) – thanks!:
Persons currently backing the project via GitHub Sponsors or patreon – Thanks!
12480 websites
webp-express
Free Plugin