Title: Regenerate Thumbnails
Author: viper007bond
Published: <strong>August 28, 2008</strong>
Last modified: August 20, 2025

---

Search plugins

![](https://ps.w.org/regenerate-thumbnails/assets/banner-772x250.jpg?rev=1753390)

![](https://ps.w.org/regenerate-thumbnails/assets/icon-128x128.png?rev=1753390)

# Regenerate Thumbnails

 By [viper007bond](https://profiles.wordpress.org/viper007bond/)

[Download](https://downloads.wordpress.org/plugin/regenerate-thumbnails.3.1.6.zip)

 * [Details](https://wordpress.org/plugins/regenerate-thumbnails/#description)
 * [Reviews](https://wordpress.org/plugins/regenerate-thumbnails/#reviews)
 *  [Installation](https://wordpress.org/plugins/regenerate-thumbnails/#installation)
 * [Development](https://wordpress.org/plugins/regenerate-thumbnails/#developers)

 [Support](https://wordpress.org/support/plugin/regenerate-thumbnails/)

## Description

Regenerate Thumbnails allows you to regenerate all thumbnail sizes for one or more
images that have been uploaded to your Media Library.

This is useful for situations such as:

 * A new thumbnail size has been added and you want past uploads to have a thumbnail
   in that size.
 * You’ve changed the dimensions of an existing thumbnail size, for example via 
   Settings â Media.
 * You’ve switched to a new WordPress theme that uses featured images of a different
   size.

It also offers the ability to delete old, unused thumbnails in order to free up 
server space.

#### In Memory of Alex Mills

In February 2019 Alex Mills, the author of this plugin, [passed away](https://alex.blog/2019/02/27/from-alexs-family/).
He leaves behind a number of plugins which will be maintained by Automattic and 
members of the WordPress community. If this plugin is useful to you please consider
donating to the Oregon Health and Science University. You can find more information
[here](https://alex.blog/2019/03/13/in-memory-of-alex-donation-link-update/).

#### Alternatives

**WP-CLI**

If you have command line access to your server, I highly recommend using [WP-CLI](https://wp-cli.org/)
instead of this plugin as it’s faster (no HTTP requests overhead) and can be run
inside of a `screen` for those with many thumbnails. For details, see the documentation
of its [`media regenerate` command](https://developer.wordpress.org/cli/commands/media/regenerate/).

**Jetpack’s Photon Module**

[Jetpack](https://jetpack.com/) is a plugin by Automattic, makers of WordPress.com.
It gives your self-hosted WordPress site some of the functionality that is available
to WordPress.com-hosted sites.

[The Photon module](https://jetpack.com/support/photon/) makes the images on your
site be served from WordPress.com’s global content delivery network (CDN) which 
should speed up the loading of images. Importantly though it can create thumbnails
on the fly which means you’ll never need to use this plugin.

I personally use Photon on my own website.

_Disclaimer: I work for Automattic but I would recommend Photon even if I didn’t._

#### Need Help? Found A Bug? Want To Contribute Code?

Support for this plugin is provided via the [WordPress.org forums](https://wordpress.org/support/plugin/regenerate-thumbnails).

The source code for this plugin is available on [GitHub](https://github.com/automattic/regenerate-thumbnails).

## Screenshots

 * [[
 * The main plugin interface.
 * [[
 * Regenerating in progress.
 * [[
 * Interface for regenerating a single attachment.
 * [[
 * Individual images can be regenerated from the media library in list view.
 * [[
 * They can also be regenerated from the edit attachment screen.

## Installation

 1. Go to your admin area and select Plugins â Add New from the menu.
 2. Search for “Regenerate Thumbnails”.
 3. Click install.
 4. Click activate.
 5. Navigate to Tools â Regenerate Thumbnails.

## FAQ

### Is this plugin [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) compliant?

This plugin does not log nor transmit any user data. Infact it doesn’t even do anything
on the user-facing part of your website, only in the admin area. This means it should
be compliant but I’m not a lawyer.

## Reviews

![](https://secure.gravatar.com/avatar/7aa41005ae28f04bd8f01838d779b13a32a8a7126db03f47f2fd8ca753950fda?
s=60&d=retro&r=g)

### 󠀁[Works Pretty Well](https://wordpress.org/support/topic/works-pretty-well-59/)󠁿

 [zack00](https://profiles.wordpress.org/zack00/) March 13, 2026 1 reply

Used it to fix image sizes after changing my theme. Did the job without much hassle.
Took some time but worked fine. Pretty useful plugin overall. tnx to the devs for
keeping it simple.

![](https://secure.gravatar.com/avatar/1e7fa8c66b78dd104909825091009b61dc2278649482a2fbd9a8f08dcfa64dc6?
s=60&d=retro&r=g)

### 󠀁[Very, very, very happy with the results](https://wordpress.org/support/topic/very-very-very-happy-with-the-results/)󠁿

 [JHouse](https://profiles.wordpress.org/jhouse/) October 28, 2025 1 reply

For layout and design purposes, I opted to increase the size of all my featured 
image thumbnails moving forward, but you guessed it, I still had to resize the previous
photos. Well, this plugin handled it like a champ! Even removed the ones I wasn’t
using any longer so I could free up some server space. Admittedly, I was a bit scared
running this plugin for the first time, however, I made backup of my website files
and database before doing so in the event sh!t went south. Not only did it resize
them perfectly, it restored some thumbnails that were missing. Now all is awesome!
Thanks for such a great plugin! I will use this exclusively in the future.

![](https://secure.gravatar.com/avatar/092a97745e197831fa94a8f87f712bdea6f0de9961635a2bead86bf5d316b303?
s=60&d=retro&r=g)

### 󠀁[Screwed all the references to images in a Portrait orientation](https://wordpress.org/support/topic/screwed-all-the-references-to-images-in-a-portrait-orientation/)󠁿

 [chrisdubea](https://profiles.wordpress.org/chrisdubea/) September 5, 2025 1 reply

Yea, That was stupid. Foolishly used this, still don’t know why. Screwed up all 
my references to images in a Portrait orientation. Luckily I was able to figure 
it out and with Better Search Replace was able to fix 326 instances of the wrong
reference.

![](https://secure.gravatar.com/avatar/d3eabb26a08f10b007449759158c4c9ad4da9560e0548f4fa9635c62e1682f61?
s=60&d=retro&r=g)

### 󠀁[Thanks!](https://wordpress.org/support/topic/thanks-2580/)󠁿

 [sjcm94](https://profiles.wordpress.org/sjcm94/) August 28, 2025 1 reply

Thank you, Alex, for still supporting us.

![](https://secure.gravatar.com/avatar/92d61e1e103b9a741e3a0c59c9f91f5ac0aa26ff3f6e0f799b75cd2e831ccbd8?
s=60&d=retro&r=g)

### 󠀁[Works. Good info too](https://wordpress.org/support/topic/works-good-info-too/)󠁿

 [moviemoon](https://profiles.wordpress.org/moviemoon/) March 12, 2025 1 reply

I really like this plug-in. I don’t need it very often but when I do it works great.
For example when I changed the image size for my blog thumbnails and thought i would
have a headache! It shows nice info about images and which sizes will be generated
too. Useful. Thank you.

![](https://secure.gravatar.com/avatar/fff0c98ff4d4a93b60303319da74d158898e262d694144992f1bcba2cc2d2ad0?
s=60&d=retro&r=g)

### 󠀁[Good cleanup tool](https://wordpress.org/support/topic/good-cleanup-tool/)󠁿

 [Denny Müller](https://profiles.wordpress.org/redaquamedia/) November 20, 2024 
1 reply

Works fine and does what it describes. And sorry to hear, that Alex has passed away.

 [ Read all 395 reviews ](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/)

## Contributors & Developers

“Regenerate Thumbnails” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Alex Mills ](https://profiles.wordpress.org/viper007bond/)

“Regenerate Thumbnails” has been translated into 37 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/regenerate-thumbnails/contributors)
for their contributions.

[Translate “Regenerate Thumbnails” into your language.](https://translate.wordpress.org/projects/wp-plugins/regenerate-thumbnails)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/regenerate-thumbnails/),
check out the [SVN repository](https://plugins.svn.wordpress.org/regenerate-thumbnails/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/regenerate-thumbnails/)
by [RSS](https://plugins.trac.wordpress.org/log/regenerate-thumbnails/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Version 3.1.6

 * Fix: Respect “Skip regenerating existing correctly sized thumbnails” setting.
 * Fix: Don’t delete all thumbnails when deleting old unregistered thumbnails size.

#### Version 3.1.5

 * Fix: Don’t overwrite ‘All X Attachment’ button label with featured images count.
 * Tested successfully with PHP 8.1.
 * Tested successfully with PHP 8.2.

#### Version 3.1.4

 * Fix: Don’t attempt to regenerate SVG’s.
 * Bump tested version.
 * Update dependencies.

#### Version 3.1.3

 * Update plugin dependencies to the latest version.

#### Version 3.1.2

 * Use wp_get_original_image_path() in WordPress 5.3

#### Version 3.1.1

 * Minor fix to avoid a divide by zero error when displaying thumbnail filenames.

#### Version 3.1.0

 * Bring back the ability to delete old, unregistered thumbnail sizes. Support for
   updating post contents is still disabled (too buggy).
 * Various code improvements including string localization disambiguation.

#### Version 3.0.2

 * Fix slowdown in certain cases in the media library.
 * Fix not being able to regenerate existing thumbnails for single images. Props
   @idofri.
 * Fix JavaScript error that could occur if the REST API response was unexpected(
   empty or PHP error).
 * Fix bug related to multibyte filenames.
 * If an image is used as the featured image on multiple posts, only regenerate 
   it once instead of once per post.

#### Version 3.0.1

 * Temporarily disable the update post functionality. I tested it a lot but it seems
   there’s still some bugs.
 * Temporarily disable the delete old thumbnails functionality. It seems to work
   fine but without the update post functionality, it’s not as useful.
 * Try to more gracefully handle cases where there’s missing metadata for attachments.
 * Wait until `init` to initialize the plugin so themes can filter the plugin’s 
   capability. `plugins_loaded` is too early.
 * Fix a JavaScript error that would cause the whole regeneration process to stop
   if an individual image returned non-JSON, such as a 500 error code.
 * Accept GET requests for the regenerate REST API endpoint instead of just POSTs.
   For some reasons some people’s sites are using GET despite the code saying use
   POST.
 * Make the attachment ID clickable in error messages.
 * Fetch 25 attachments at a time instead of 5. I was using 5 for testing.
 * PHP notice fixes.

#### Version 3.0.0

 * Complete rewrite from scratch using Vue.js and the WordPress REST API.

#### Version 2.2.4

 * Better AJAX response error handling in the JavaScript. This should fix a long-
   standing bug in this plugin. Props Hew Sutton.

#### Version 2.2.3

 * Make the capability required to use this plugin filterable so themes and other
   plugins can change it. Props [Jackson Whelan](http://jacksonwhelan.com/).

#### Version 2.2.2

 * Don’t check the nonce until we’re sure that the action called was for this plugin.
   Fixes lots of “Are you sure you want to do this?” error messages.

#### Version 2.2.1

 * Fix the bottom bulk action dropdown. Thanks Stefan for pointing out the issue!

#### Version 2.2.0

 * Changes to the Bulk Action functionality were made shortly before the release
   of WordPress 3.1 which broke the way I implemented the specific multiple image
   regeneration feature. This version adds to the Bulk Action menu using Javascript
   as that’s the only way to do it currently.

#### Version 2.1.3

 * Move the `error_reporting()` call in the AJAX handler to the beginning so that
   we’re more sure that no PHP errors are outputted. Some hosts disable usage of`
   set_time_limit()` and calling it was causing a PHP warning to be outputted.

#### Version 2.1.2

 * When regenerating all images, newest images are done first rather than the oldest.
 * Fixed a bug with regeneration error reporting in some browsers. Thanks to pete-
   sch for reporting the error.
 * Supress PHP errors in the AJAX handler to avoid sending an invalid JSON response.
   Thanks to pete-sch for reporting the error.
 * Better and more detailed error reporting for when `wp_generate_attachment_metadata()`
   fails.

#### Version 2.1.1

 * Clean up the wording a bit to better match the new features and just be easier
   to understand.
 * Updated screenshots.

#### Version 2.1.0

Lots of new features!

 * Thanks to a lot of jQuery help from [Boris Schapira](http://borisschapira.com/),
   a failed image regeneration will no longer stop the whole process.
 * The results of each image regeneration is now outputted. You can easily see which
   images were successfully regenerated and which failed. Was inspired by a concept
   by Boris.
 * There is now a button on the regeneration page that will allow you to abort resizing
   images for any reason. Based on code by Boris.
 * You can now regenerate single images from the Media page. The link to do so will
   show up in the actions list when you hover over the row.
 * You can now bulk regenerate multiple from the Media page. Check the boxes and
   then select “Regenerate Thumbnails” form the “Bulk Actions” dropdown. WordPress
   3.1+ only.
 * The total time that the regeneration process took is now displayed in the final
   status message.
 * jQuery UI Progressbar version upgraded.

#### Version 2.0.3

 * Switch out deprecated function call.

#### Version 2.0.2

 * Directly query the database to only fetch what the plugin needs (the attachment
   ID). This will reduce the memory required as it’s not storing the whole row for
   each attachment.

#### Version 2.0.1

 * I accidentally left a `check_admin_referer()` (nonce check) commented out.

#### Version 2.0.0

 * Recoded from scratch. Now uses an AJAX request per attachment to do the resizing.
   No more PHP maximum execution time errors or anything like that. Also features
   a pretty progress bar to let the user know how it’s going.

#### Version 1.1.0

 * WordPress 2.7 updates — code + UI. Thanks to jdub and Patrick F.

#### Version 1.0.0

 * Initial release.

#### Upgrade Notice

Support for WordPress 5.3

## Meta

 *  Version **3.1.6**
 *  Last updated **8 months ago**
 *  Active installations **1+ million**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 5.2.4 or higher **
 *  Languages
 * [Albanian](https://sq.wordpress.org/plugins/regenerate-thumbnails/), [Bulgarian](https://bg.wordpress.org/plugins/regenerate-thumbnails/),
   [Catalan](https://ca.wordpress.org/plugins/regenerate-thumbnails/), [Chinese (China)](https://cn.wordpress.org/plugins/regenerate-thumbnails/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/regenerate-thumbnails/), 
   [Croatian](https://hr.wordpress.org/plugins/regenerate-thumbnails/), [Czech](https://cs.wordpress.org/plugins/regenerate-thumbnails/),
   [Danish](https://da.wordpress.org/plugins/regenerate-thumbnails/), [Dutch](https://nl.wordpress.org/plugins/regenerate-thumbnails/),
   [English (Australia)](https://en-au.wordpress.org/plugins/regenerate-thumbnails/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/regenerate-thumbnails/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/regenerate-thumbnails/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/regenerate-thumbnails/),
   [English (UK)](https://en-gb.wordpress.org/plugins/regenerate-thumbnails/), [English (US)](https://wordpress.org/plugins/regenerate-thumbnails/),
   [Finnish](https://fi.wordpress.org/plugins/regenerate-thumbnails/), [French (France)](https://fr.wordpress.org/plugins/regenerate-thumbnails/),
   [Galician](https://gl.wordpress.org/plugins/regenerate-thumbnails/), [German](https://de.wordpress.org/plugins/regenerate-thumbnails/),
   [Greek](https://el.wordpress.org/plugins/regenerate-thumbnails/), [Italian](https://it.wordpress.org/plugins/regenerate-thumbnails/),
   [Japanese](https://ja.wordpress.org/plugins/regenerate-thumbnails/), [Korean](https://ko.wordpress.org/plugins/regenerate-thumbnails/),
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/regenerate-thumbnails/),
   [Persian](https://fa.wordpress.org/plugins/regenerate-thumbnails/), [Polish](https://pl.wordpress.org/plugins/regenerate-thumbnails/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/regenerate-thumbnails/),
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/regenerate-thumbnails/),
   [Romanian](https://ro.wordpress.org/plugins/regenerate-thumbnails/), [Russian](https://ru.wordpress.org/plugins/regenerate-thumbnails/),
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/regenerate-thumbnails/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/regenerate-thumbnails/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/regenerate-thumbnails/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/regenerate-thumbnails/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/regenerate-thumbnails/),
   [Swedish](https://sv.wordpress.org/plugins/regenerate-thumbnails/), [Turkish](https://tr.wordpress.org/plugins/regenerate-thumbnails/),
   and [Ukrainian](https://uk.wordpress.org/plugins/regenerate-thumbnails/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/regenerate-thumbnails)
 * Tags
 * [post thumbnail](https://wordpress.org/plugins/tags/post-thumbnail/)[post thumbnails](https://wordpress.org/plugins/tags/post-thumbnails/)
   [thumbnail](https://wordpress.org/plugins/tags/thumbnail/)[thumbnails](https://wordpress.org/plugins/tags/thumbnails/)
 *  [Advanced View](https://wordpress.org/plugins/regenerate-thumbnails/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  340 5-star reviews     ](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/?filter=5)
 *  [  18 4-star reviews     ](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/?filter=4)
 *  [  3 3-star reviews     ](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/?filter=3)
 *  [  8 2-star reviews     ](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/?filter=2)
 *  [  26 1-star reviews     ](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/regenerate-thumbnails/reviews/)

## Contributors

 *   [ Alex Mills ](https://profiles.wordpress.org/viper007bond/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/regenerate-thumbnails/)