Why Force Regenerate Thumbnails Creates So Many Image Sizes (And How to Manage Them)
Content
If you've used the Force Regenerate Thumbnails plugin, you might have been surprised to see it generating a long list of image sizes—far more than the few you set in your WordPress Media Settings. This is a common point of confusion, but it's not a bug in the plugin. Let's break down why this happens and what you can do about it.
Why Does This Happen?
The Force Regenerate Thumbnails plugin has a specific job: it deletes all existing thumbnails for an image and then regenerates every single image size that is currently registered with WordPress. The key term here is "registered."
Your registered image sizes come from three main sources:
- WordPress Core: The default 'thumbnail', 'medium', 'medium_large', and 'large' sizes you set in Settings > Media.
- Your Theme: Most themes add their own custom image sizes for sliders, galleries, featured images, and other layout elements.
- Your Plugins: Plugins like WooCommerce, bbPress, and many others register their own sizes to function properly (e.g., WooCommerce's product gallery images).
When you run the plugin, it processes all of these registered sizes. So, that long list of 100×100, 300×300, 768×432, and other dimensions isn't random; it's the complete set of sizes that your entire WordPress installation (core, theme, and plugins) has requested.
Common Solutions and Workarounds
1. Identify the Source of the Sizes
Before trying to remove sizes, you need to know what is creating them. While you can search through your theme and plugin code for add_image_size() function calls, an easier method is to use a plugin that lists them all. Some image optimization plugins include a feature that displays a complete list of all registered image sizes, often indicating which plugin or theme registered them.
2. Control Which Sizes Are Generated
By itself, Force Regenerate Thumbnails does not have a built-in interface to select specific sizes for regeneration; it processes all registered sizes. However, you can control the regeneration process by filtering the list of registered sizes before the plugin acts on them.
Some image optimization plugins offer a feature to disable the generation of specific, unused thumbnail sizes. If you use such a plugin to disable a size, Force Regenerate Thumbnails will respect that setting and will not regenerate that size, as it will have been removed from the list of registered sizes that WordPress provides.
3. Manually Clean Up Old, Unused Files
It's important to understand what Force Regenerate Thumbnails deletes. It only deletes the thumbnails for the sizes that are currently registered. When it runs, it removes the files for those specific sizes and then creates new ones. It does not automatically track down and delete old thumbnail files from sizes that are no longer registered by any theme or plugin.
To free up server space by deleting these legacy, unregistered files, you may need a different tool or a manual method, such as:
- Using a dedicated plugin designed to find and remove unused image files.
- Using a command-line script (if you have server access).
Key Takeaway
The behavior of Force Regenerate Thumbnails generating many sizes is by design. The plugin's core function is to ensure all currently active image sizes are correctly reformatted, which is crucial after changing a theme, modifying image quality settings, or altering image dimensions. The long list of sizes is a reflection of your site's entire ecosystem, not the plugin creating unnecessary files.
Related Support Threads Support
-
Can’t regenerate only specific thumbnailshttps://wordpress.org/support/topic/cant-regenerate-only-specific-thumbnails/
-
Suggestion: Set default crop position when regeneratinghttps://wordpress.org/support/topic/suggestion-set-default-crop-position-when-regenerating/
-
Generate missing sizes only?https://wordpress.org/support/topic/generate-missing-sizes-only/
-
Regarding using advanced filter with CDNhttps://wordpress.org/support/topic/regarding-using-advanced-filter-with-cdn/
-
Doesnt delete unused thumbshttps://wordpress.org/support/topic/doesnt-delete-unused-thumbs/
-
really resizes or really deletes?https://wordpress.org/support/topic/really-resizes-or-really-deletes/
-
watermark?https://wordpress.org/support/topic/watermark-55/
-
Generating Thumbnails from php for an imagehttps://wordpress.org/support/topic/generating-thumbnails-from-php-for-an-image/
-
work with nextgen?https://wordpress.org/support/topic/work-with-nextgen/
-
Thumbnail regeneration in woocommerce_uploadshttps://wordpress.org/support/topic/thumbnail-regeneration-in-woocommerce_uploads/
-
Global Photo Updatehttps://wordpress.org/support/topic/global-photo-update-1/
-
Limit by height not widthhttps://wordpress.org/support/topic/limit-by-height-not-width/
-
regenerate thumbnail in the specific folderhttps://wordpress.org/support/topic/regenerate-thumbnail-in-the-specific-folder/
-
Possible? / Suggestion – Force resize all but Featuredhttps://wordpress.org/support/topic/possible-suggestion-force-resize-all-but-featured/
-
Not deleting 100×100https://wordpress.org/support/topic/not-deleting-100x100/
-
Use with Media Library Foldershttps://wordpress.org/support/topic/use-with-media-library-folders/
-
Use on pluginshttps://wordpress.org/support/topic/use-on-plugins/
-
Resize only the Featred imageshttps://wordpress.org/support/topic/resize-only-the-featred-images/
-
Anyway to Add Delete @2x Imageshttps://wordpress.org/support/topic/anyway-to-add-delete-2x-images/
-
Skip existing sizes and bulk continuehttps://wordpress.org/support/topic/skip-existing-sizes-and-bulk-continue/
-
Exclude PDFs from Regenerationhttps://wordpress.org/support/topic/exclude-pdfs-from-regeneration/
-
Creating Thumbnails for Images in Themes and Pluginshttps://wordpress.org/support/topic/creating-thumbnails-for-images-in-themes-and-plugins/
-
Skip SVGshttps://wordpress.org/support/topic/skip-svgs-3/
-
Determine thumbnail sizes for regenhttps://wordpress.org/support/topic/determine-thumbnail-sizes-for-regen/
-
Regenerate thumbnails in S3https://wordpress.org/support/topic/regenerate-thumbnails-in-s3-1/
-
its regenerate other thumbnails also..https://wordpress.org/support/topic/its-regenerate-other-thumbnails-also/
-
Is there any function to call directly?https://wordpress.org/support/topic/is-there-any-function-to-call-directly/
-
Force delete all thumbnails?https://wordpress.org/support/topic/force-delete-all-thumbnails/
-
Suggestion – overflow: auto on process outputhttps://wordpress.org/support/topic/suggestion-overflow-auto-on-process-output/
-
Regenerate thumbnails of selected size?https://wordpress.org/support/topic/regenerate-thumbnails-of-selected-size/
-
Old Thumbnails in upload folders ?https://wordpress.org/support/topic/old-thumbnails-in-upload-folders/
-
Feature request: Delete all Thumbnails, don't create newhttps://wordpress.org/support/topic/feature-request-delete-all-thumbnails-dont-create-new/
-
Fature Request: Custom uploads pathhttps://wordpress.org/support/topic/fature-request-custom-uploads-path/
-
generate thumbnails of specific size onlyhttps://wordpress.org/support/topic/generate-thumbnails-of-specific-size-only-2/
-
Preserve settings from Post Thumbnail Editorhttps://wordpress.org/support/topic/preserve-settings-from-post-thumbnail-editor/
-
Did not delete all unused sizeshttps://wordpress.org/support/topic/did-not-delete-all-unused-sizes/
-
where is the option to delete thumb images ?https://wordpress.org/support/topic/where-is-the-option-to-delete-thumb-images/
-
Add features from “Regenerate Thumbnails” pluginhttps://wordpress.org/support/topic/add-features-from-regenerate-thumbnails-plugin/
-
Feature request: regenerate specific sizehttps://wordpress.org/support/topic/feature-request-regenerate-specific-size/
-
Possible to only delete unused sizes?https://wordpress.org/support/topic/possible-to-only-delete-unused-sizes/
-
many different sizeshttps://wordpress.org/support/topic/many-different-sizes/
-
Two useful features would be nice to havehttps://wordpress.org/support/topic/two-useful-features-would-be-nice-to-have/
-
Only Regenerate broken Images?https://wordpress.org/support/topic/only-regenerate-broken-images/
-
Problem with deleting unused image thumbnailshttps://wordpress.org/support/topic/problem-with-deleting-unused-image-thumbnails/
-
Generate single size only?https://wordpress.org/support/topic/generate-single-size-only/
-
PDF Forced Regeneration?https://wordpress.org/support/topic/pdf-forced-regeneration/
-
some small improvementshttps://wordpress.org/support/topic/some-small-improvements-2/