Delete Unscaled Images

Deletes original image files if they have been resized

Author:Greg Perham (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:6.5.2
Plugin version:1.2.4
Added to WordPress repository:01-11-2022
Last updated:15-04-2024
Rating, %:100
Rated by:2
Plugin URI:
Total downloads:1 602
Active installs:80+
plugin download
Click to start download

WordPress 5.3 added “big image handling” that scales uploaded images to a maximum size of 2560 pixels for use on the website. WP adds “-scaled” to the full size image file name. The original, unscaled images are kept on the server. This can mean that many large images are stored on the server that aren’t ever actually going to be displayed on the website. In my case, users are uploading 15MB files from their cameras.

After the scaled version and intermediate/thumbnail images are generated, the originals are no longer needed and just taking up storage space. Delete Unscaled Images will remove those unneeded files.

First, original images are deleted immediately after the resized versions are created for all new uploads.

Second, there is a bulk deletion tool in the Media submenu to process existing images.


ChangeLog