Description
This plugin converts every uploaded JPG or PNG into a WebP image to make your site faster and lighter. It also removes the original file to save space and avoid duplicates, and sets the image alt text automatically from the filename.
Configuration
You can set the image quality in Tools Force WebP.
Choose your preferred value and save the settings. The new quality will be used for all images uploaded after you change it.
Installation
- Download the plugin or install it from the WordPress Plugin Directory.
- Activate it via the Plugins menu in WordPress.
- From now on, any JPG or PNG file uploaded to the Media Library will:
- be converted to WebP
- have the original file removed
- receive an alt text based on the filename
- be renamed to avoid overwriting if duplicates exist
FAQ
-
Does the plugin support GIFs?
-
No. Only JPG/JPEG and PNG are supported. Other formats remain unchanged.
-
What happens if the server does not have Imagick with WebP support?
-
The plugin deactivates itself and shows an admin notice. Please enable Imagick with WebP support on your server.
-
How can I change the compression quality?
-
The default is 90%. You can change it in Tools Force WebP. The new quality will be applied to all images uploaded after you update the setting.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Force WebP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Force WebP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.4
- Added a “Settings” link on the plugins list.
- Added server WebP support status message on the settings page.
1.1.3
- Typo fixed.
1.1.2
- Changed minimum required PHP version to 8.1.
- Changed minimum WordPress version to 6.5.
1.1.1
- Improvements and small fixes.
1.1
- Improved: plugin now checks whether Imagick is available on the server.
1.0.3
- Fixed issue where PNG images without transparency were converted to fully transparent images.
- Added configuration page in Tools Force WebP to set image quality.
1.0.2
- Default WebP changed to 90%.
1.0.1
- Added filename uniqueness handling for WebP files.
1.0
- Initial release: convert JPG/PNG to WebP (90% quality), remove original files, rename files, and set alt text.