Control the compression quality level of each image size individually to speed your site up display.
|Author:||Daisuke Yamamoto (profile at wordpress.org)|
|WordPress version required:||5.3|
|WordPress version tested:||6.0.0|
|Added to WordPress repository:||14-07-2021|
|Total downloads:||1 907|
Click to start download
You can individually set the compression quality of the resized image that is automatically generated when you upload the image to the WP media library.
Setting the optimum compression quality level helps ensure image quality and speed up page display.
The quality level can be examined while checking in real time.
This plugin will automatically generate the same quality and more compressed WebP if your server supports WebP.
And if user’s browser supports WebP, deliver automatically WebP instead of JPEG or PNG. (No need to rewrite the URL of the tag)
It contributes to improving CWV (Core Web Vitals).
- Set the quality level in the image type (JPEG / PNG / WebP) and size name table.
- Set the default quality level if not set.
- Set the quality level for WebP compression of the original image.
The following can be set as options.
- Guarantee a Secure Filename (Deny a multibyte filename)
- Autoset Alt from Exif (only JPEG)
- Add a Quality Level Suffix
- Enable Interlace/Progressive
- Enable Generating WebP
- Enable PNG8
- Optimize “srcset” Attribute
- Force Adding the Query String for Image Cache Clear
- Optimize Delay by WP-Cron
In addition, it has the following functions.
- Add Some Custom Image Sizes
- Test Quality Level
- Change of Big Image Threshold
- Reset Settings
- Run Re-Compression
- Auto Re-Compression using WP-Cron
How to use
After installing and activated, WebP auto-generation and small image compression will be high.
Adjust the settings if necessary and recompress all images.
- Change Settings (if you need)
- Recompress uploaded images (if you need)
Be sure to make a backup before recompressing.
Access to the settings screen
- Setting Screen
- Go to “Image Qualities”
Quality Level Table
Test Quality Level
Recompress the Uploaded Images
Generate WebP Image Automatically
No, it will not be lost.
When recompressing, resize and compress from the original image.
There is no need to rewrite.
If user browser supports WebP, .htaccess will automatically deliver WebP instead of JPEG or PNG.
If you want to compress the uploaded images with the new settings, recompress it.
Recompression is recommended when creating a new WebP. (WebP for uploaded images is not automatically generated)
Raise the quality level of WebP.
Test the file size and image quality to decide the quality level.
Yes, it will stop.
If you install ‘.htaccess’ properly in /wp-content/uploads, it can be delivered automatically even after it is stopped.
Yes, it has priority. (Version 0.10.9+)
However, it is unstable which one is prioritized up to version 0.10.8.
Just deactivate it from the plugins (admin screen) and then delete it.
There is no cache or database, so there is nothing you to do after uninstalling.
It is possible that the browser cache is still active.
Clear the browser cache or update this plugin to Version 1.2.0+. Version 1.2.0+ will clear the cache when there is a change in the image.
However, if the quality of the original image is low, it will not improve over that quality.
Fixed an error that occurred with PHP 7.2 and older.
Checked that it works with WordPress 6.0.
Fix an issue where resized images were not generated when uploading WebP that WebP was not automatically generated to replace images in conventional format.
Fix the text domain in some translation functions.
Change translation function to wp.i18n.
Adjust the tab control of the setting screen.
Add an option to optimize delay by WP-Cron. cURL in version older than 7.32.0, decimal values cannot be used for timeout.
Chang the method of obtaining the modification date and time of the query string to clear the image cache.
Fix a bug in Imagick that WebP mime-type was not detected correctly.
Fix a bug in the quality test that the quality level of the original image might not be set to the set level.
Add an option to add a query string to clear the image cache.
Changed the interlace flag to be set separately for JPEG and PNG.
Add setting of target conditions for batch conversion.
Checked that it works with WordPress 5.9.
Fix a bug that toggle options could not be displayed when loading by the setting page opening other than the test image tab in the quality level test.
GD changed the initial value of PNG8 enablement to ‘false’ because transparent colors are not preserved when converted to PNG8 at sites that use the GD library.
Supports PNG8. Supports changing toggle options in quality level testing.
Change of the quality levels can be set according to the size of the original image.
Fix a bug that the setting value of this plugin is not set except for ‘medium’ size when the quality level is set by ‘jpeg_quality’ hook.
Fix a bug that the default quality setting values are not used when the quality setting values are not set.
Add the function to display the saved setting values.
Increase the priority of the quality level setting for this plugin.
Fix the quality levels in compression informations table.
Add the quality level table for site icon.
Add single compression button to the Media Library page (list view).
Add compression informations to the Media Library page (list view).
Fix a bug that occasionally prevented setting the site icon.
Show the default value for toggle settings.
Fix because the deletion of 0.10.1 was not successful.
Delete the old files that remained when dividing into folders under /includes.
Tab the setting screen.
Fix some bugs.
Modulated the processes for extension plugin.
Fix some bugs.
Add the funcitions of extension plugin.
Fix a bug that the quality level cannot be set in the quality test.
Add the function to regenerate only one image.
Add the bellow functions;
1. Add Custom Image Sizes
2. Optimize “srcset” Attribute
3. Big Image Threshold
4. Images are automatically regenerated using WP-Cron
Compatible with WordPress 5.8.1.
Changed the default values.
Fix a bug that the setting values cannot reset.
Fix some bugs.
Changed the test image preview to an image size that takes into account the device pixel ratio.
Add the function to test quality level.
Update the description on the setting screen.
Compatible with WordPress 5.8. Fixed a bug that the original image WebP was not generated.
Updated to interrupt the recompression process.
First Release on The WordPress Plugin Directory
Organized items on the setting page and added explanations. Changed the settings to apply.
Add a Setting Page & Selected the Editor Changed to Prioritize WebP-enabled Library.
When Deleting an Attachment, Delete WebP at the Same Time.
Changed WebP Creation Method to ‘cwebp’ Utility.
Add Classes that extends the Core Image Editor and Set the Compression Quality when Creating Resized Images with GD / Imagick.
Overwrites the All Resized Images with GD functions after ‘wp_generate_attachment_metadata’ Hook.