Allows you to regenerate your thumbnails after changing the thumbnail sizes.
|Author:||Alex Mills (Viper007Bond) (profile at wordpress.org)|
|WordPress version required:||4.7|
|WordPress version tested:||4.9.2|
|Added to WordPress repository:||28-08-2008|
|Total downloads:||9 049 527|
|Active installs:||1 000 000+|
Click to start download
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.
- Go to your admin area and select Plugins → Add New from the menu.
- Search for “Regenerate Thumbnails”.
- Click install.
- Click activate.
- Navigate to Tools → Regenerate Thumbnails.
- Fix slowdown in certain cases in the media library.
- Fix not being able to regenerate existing thumbnails for single images. Props @idofri.
- 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.
- 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
initto initialize the plugin so themes can filter the plugin’s capability.
plugins_loadedis too early.
- 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.
- Complete rewrite from scratch using Vue.js and the WordPress REST API.
- Make the capability required to use this plugin filterable so themes and other plugins can change it. Props Jackson Whelan.
- 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.
- Fix the bottom bulk action dropdown. Thanks Stefan for pointing out the issue!
- 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.
- 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
- Clean up the wording a bit to better match the new features and just be easier to understand.
- Updated screenshots.
Lots of new features!
- Thanks to a lot of jQuery help from Boris Schapira, 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.
- Switch out deprecated function call.
- 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.
- I accidentally left a
check_admin_referer()(nonce check) commented out.
- 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.
- WordPress 2.7 updates — code + UI. Thanks to jdub and Patrick F.
- Initial release.