What Regenerate Thumbnails does in your Media Library
Every time you upload an image, WordPress creates resized copies in the sizes registered at that moment: the ones in Settings > Media (thumbnail, medium, large) plus any sizes your theme and plugins add. Those copies are never recalculated afterward. If you switch themes or change a size, older uploads don’t have the right format, so the theme falls back to a nearby size that is often heavier or badly cropped.
Regenerate Thumbnails rebuilds those copies from the source file, including the original WordPress keeps when a very large photo was scaled down on upload. The Tools > Regenerate Thumbnails screen lists the registered sizes and lets you process every attachment or only featured images. In the Media Library, a button on each image and a bulk action (in list view) handle a specific selection. Processing runs through the REST API, one image at a time, with a log, a pause button and a list of errors. SVG files and the site icon are skipped.
Alex Mills created the plugin in 2008. After his death in February 2019, Automattic and community members took over maintenance, according to its wordpress.org page. It is completely free, with no paid tier and no account to create, and it only works in the admin area: nothing loads on your public pages.
When Regenerate Thumbnails earns its place
It’s a one-off tool: activate it for a job, then you can deactivate it.
- After a theme switch: featured images and archive thumbnails finally get the format the new theme expects.
- After changing image sizes in Settings > Media, or when a plugin (store, gallery, page builder) registers a new size.
- After a migration or partial restore: missing copies are rebuilt from the originals.
- To free up disk space, carefully, by deleting copies of sizes that are no longer registered.
It’s the wrong tool if you have command-line access and a large library: the wp media regenerate command in WP-CLI, which the author himself recommended, is faster and doesn’t depend on an open browser tab. It isn’t needed either if your images go through a service that resizes on the fly, such as the image CDN in Jetpack, which the plugin’s page lists as an alternative.
Regenerate Thumbnails strengths and limitations
Strengths
- Simple and focused. One screen, two bulk buttons, one action per image: nothing to configure.
- Cautious by default. Sizes that are already correct are skipped, and old copies are never deleted unless you ask.
- One failure doesn’t stop the run. Each image is handled separately; errors are listed with the attachment ID.
- Admins only. The screen and the REST API routes require the
manage_optionscapability. - Free with no strings attached. No paid version, no ads, no data sent to a third-party service.
Limitations
- Post content isn’t updated. Rewriting images inserted in posts has been disabled since version 3.0.1; the author considered it too buggy.
- The tab must stay open. The browser drives the process, so closing the page stops it, which gets tedious with thousands of images.
- Risky deletion. The option that removes old sizes can break images in your content, as the plugin itself warns.
- Slow development. Recent releases contain only fixes, with no scheduling or background processing.
How we regenerate thumbnails without breaking images
The plugin has no settings page: its options are checkboxes on the processing screen. Here are the choices we recommend, in the order you’ll run into them.
| Setting | Recommended value | Why |
|---|---|---|
| WordPress image sizes Settings > Media | Final before you start | Any later change means running everything again; also check the theme’s sizes on the plugin’s screen. |
| “Regenerate Thumbnails” bulk action Media > Library, list view | Five images first | A small test shows whether the server keeps up and whether the theme looks right. |
| Skip regenerating existing correctly sized thumbnails Tools > Regenerate Thumbnails | Checked (default) | Only missing or wrongly sized copies are rebuilt: much faster and lighter on the server. |
| Delete thumbnail files for old unregistered sizes Same screen | Unchecked (default) | Check it only after a backup, because images inserted in older posts may point to those files. |
| Regenerate Thumbnails For Featured Images Only Same screen | Preferred after a theme switch | A new theme’s sizes often matter mainly for featured images, so the run is shorter. |
| Pause During processing | At peak traffic times | Each image taxes the server’s CPU; Resume picks up where the run stopped. |
Access to the toolregenerate_thumbs_cap filter | Default (manage_options) | No need to open it to editors: one wrong click affects the whole library. |
- Make a backup of the uploads folder and the database before a full run, ideally tested first on a staging site.
- Keep the tab open until the completion message, then review the list of errors.
- Open an archive page and a recent post: thumbnails should have the expected format, with no broken images.
- If a caching plugin or a CDN serves your images, purge its cache so the new copies show up.
Regenerate Thumbnails and your site’s security
At the time of writing, the Patchstack database lists no published vulnerability for Regenerate Thumbnails. Its exposure is low: it adds nothing to public pages, and its three REST API routes (processing an image, attachment details, the list of featured images) reject any visitor without the manage_options capability. The main risk is operational: deleting old sizes without a backup.
Keep the plugin updated, ideally with automatic plugin updates, or deactivate it between uses: an inactive plugin runs no code. The plugin leaves no known trace on your public pages; WP Feint Pro therefore has nothing to remove for it (see the box below).
What WP Feint hides for Regenerate Thumbnails
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to Regenerate Thumbnails: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
Nothing more
Still visible
No known trace
Regenerate Thumbnails FAQ
Should I keep Regenerate Thumbnails active after using it?
No. The copies it creates stay in place after deactivation. Turn the plugin back on the next time you change themes or image sizes.
Why do my older posts still show images at the old size?
Images inserted in content keep the URL of the copy chosen when they were inserted, and the plugin doesn’t rewrite content. Featured images and thumbnails generated by the theme, however, use the new sizes.
The process stops or shows errors. What should I do?
Note the IDs of the failed attachments: the cause is often a source file missing from the server or an image too large for the available PHP memory. Then rerun those images one by one from the Media Library.
Can I regenerate only some images?
Yes. In the Media Library list view, select the images and choose “Regenerate Thumbnails” from Bulk actions, or use the button on each image’s edit screen.