Description
Every time you upload an image, Simple WebP generates a .webp version. It then alter the HTML to replace img tags with picture tags, which let the browser pick the best format.
WebP images are often smaller than original .jpeg or .png one, so can save bandwidth and load time. Most browsers support WebP nowadays. You can use Google Pagespeed tool to see the gain you would get from WebP.
You will get much faster load time, and better ranking in Google Search.
Simple WebP is very much inspired by the more complete (and complex to install) WebP Express plugin. It also use the same libraries :
- WebPConvert: For converting images to webp
- DOM Util for WebP: For the Alter HTML functionality
FAQ
- Are there any settings ?
-
No, just activate the plugin and enjoy the effects. If you want more settings, use WebP Express.
- What if the WebP version is actually bigger than the original ?
-
Yes, it happens. If after the conversion, the .webp version is bigger, it is immediately deleted so it will not be served.
- Is it compatible with browser not compatible with picture tag ?
-
Yes, a polyfill is included.
- Will it work for previously uploaded images ?
-
Simple WebP generates .webp version of images on upload. So your previously uploaded images will not be converted.
However, Simple WebP provide a WP-CLI command to bulk convert all your uploaded image on your server :
wp-cli webp-simple-bulk-convert
. - Does it work for theme images ?
-
No, it works only with uploaded images. Converting theme image requires to set up on demand converting, which is way more complex, and often needs to do manual configuration on the server. See WebP Express.
- Does it work with Nginx ?
-
Yes, it works out of the box with Nginx as long as you serve directly static files.
- Does it work on Windows servers ?
-
Maybe. Probably not.
- Will it delete .webp images from my server if I delete the plugin ?
-
No. But they will not be served anymore.
Contributors & Developers
“Simple WebP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Simple WebP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.