RasterRake Image Size Cleaner
WordPress, themes and plugins can create many image sizes for every upload. RasterRake Image Size Cleaner shows the sizes WordPress knows about and totals the files and disk space recorded for each one. Use clear controls to stop selected core or custom sizes from being generated on future uploads.
WordPress, themes and plugins can create many image sizes for every upload. RasterRake Image Size Cleaner shows the sizes WordPress knows about and totals the files and disk space recorded for each one.
Use clear controls to stop selected core or custom sizes from being generated on future uploads. Nothing changes on activation, and every size starts enabled. Large-image scaling can remain at the core default, be disabled, or use a custom threshold.
Cleanup always starts with a dry run. The plugin offers only derivative files that are explicitly named in attachment metadata for a size that is disabled or no longer registered. Attached files and original-image paths are hard exclusions, and a CSV is available before deletion.
A retired derivative can still be referenced by a manually pasted URL, custom code or cached content, so review the preview and keep a backup. When a needed size is re-enabled, Regenerate creates missing enabled derivatives in batches. The audit, cleanup and regeneration work locally and never send your files anywhere.
A Pro version adds scheduled cleanup with email summaries, WP-CLI commands, multisite network reports, a disk history, object-storage adapters and size-policy presets. See the Upgrade to Pro section below for the link.
What the plugin does
- Audits every size key recorded in _wp_attachment_metadata , with dimensions, crop mode, file count, missing files and bytes.
- Stops selected core or custom sizes — including 1536×1536 and 2048×2048 — from being created for future uploads.
- Keeps the large-image threshold at the core default, disables it, or sets a custom value between 2560 and 10000 pixels.
- Previews retired derivatives in the browser, limited to metadata-recorded files inside the uploads folder.
- Deletes only after an explicit size selection and the typed phrase DELETE RETIRED SIZES, then removes the matching metadata entry.
- Regenerates missing enabled derivatives in resumable batches.
- Exports the size report and the cleanup preview as CSV files.
What the plugin does not do