Title: AJAX Thumbnail Rebuild
Author: junkcoder
Published: <strong>October 12, 2009</strong>
Last modified: May 3, 2023

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/ajax-thumbnail-rebuild.svg)

# AJAX Thumbnail Rebuild

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

[Download](https://downloads.wordpress.org/plugin/ajax-thumbnail-rebuild.1.14.zip)

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

 [Support](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/)

## Description

AJAX Thumbnail Rebuild allows you to rebuild all thumbnails on your site. There 
are already some plugins available for this, but they have one thing in common: 
All thumbnails are rebuilt in a single step. This works fine when you don’t have
that many photos on your site. When you have a lot of full-size photos, the script
on the server side takes a long time to run. Unfortunately the time a script is 
allowed to run is limited, which sets an upper limit to the number of thumbnails
you can regenerate. This number depends on the server configuration and the computing
power your server has available. When you get over this limit, you won’t be able
to rebuild your thumbnails.

Why would you want to rebuild your thumbnails? WordPress allows you to change the
size of thumbnails. This way, you can make the size of thumbnails fit the design
of your website. When you change the size to fit for a new theme, all future photos
you are going to upload will have this new size. Your old thumbnails won’t be resized.
That’s where this plugin comes into action. After changing the image sizes, you 
can rebuild all thumbnails. But instead of telling the server to recreate all thumbnails
at once, they are rebuilt one after another. Rebuilding thumbnails for one photo
won’t take all too long, so you won’t run into any script timeouts. Note that you
still have to wait until all thumbnails have been rebuilt. If you close the page
before the task is completed, you have to start all over again.

You can also select the thumbnail sizes you want to rebuild, so that you don’t need
to recreate all images if you’ve just changed one thumbnail-size. You can also choose
to only rebuild post thumbnails (featured images).

This plugin requires JavaScript to be enabled.

Contributions are welcome at [Github](https://github.com/breiti/ajax-thumbnail-rebuild)

## Screenshots

[⌊Plugin in action⌉⌊Plugin in action⌉[

Plugin in action

## Installation

Upload the plugin to your blog, activate it, done. You can then rebuild all thumbnails
in the tools section (Tools -> Rebuild Thumbnails).

## Reviews

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

### 󠀁[Still Works Great!](https://wordpress.org/support/topic/still-works-great-45/)󠁿

 [cr8n](https://profiles.wordpress.org/cr8n/) November 10, 2025

With over 4K images on my site, it’s impossible to get “Regenerate Thumbnails” in
Woocommerce to complete. This takes care of it in a couple hours without taking 
a break. Thank you! Running WordPress 6.8.3 & PHP 8.4

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

### 󠀁[Seems to be a dead plugin](https://wordpress.org/support/topic/seems-to-be-a-dead-plugin/)󠁿

 [mmk175](https://profiles.wordpress.org/mmk175/) May 16, 2024

No replies to support queries for over a year so it seems like a dead plugin. hopefully
you backup your site before trying this.

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

### 󠀁[This should be in Core](https://wordpress.org/support/topic/this-should-be-in-core-8/)󠁿

 [Jasper](https://profiles.wordpress.org/studiotwee/) March 8, 2024

This is a great plugin, easy to use and it should be in Core in some way or form.
It’s ridiculous that Woo does automatic thumbnail regeneration, but WP Core doesn’t.
Thanks for this.

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

### 󠀁[Best option if looking for Regenerate Thumbnails](https://wordpress.org/support/topic/best-option-if-looking-for-regenerate-thumbnails/)󠁿

 [Fred](https://profiles.wordpress.org/spult/) April 30, 2022

It did what Regenerate Thumbnails can’t.

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

### 󠀁[Has this plugin been abandoned?](https://wordpress.org/support/topic/has-this-plugin-been-abandoned-42/)󠁿

 [802jan](https://profiles.wordpress.org/802jan/) November 3, 2021

Wordfence is giving ‘abandoned’ warnings since there have been no updates in three
years. Excellent plugin though.

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

### 󠀁[So nice](https://wordpress.org/support/topic/so-nice-39/)󠁿

 [Wabbitt83](https://profiles.wordpress.org/wabbitt83/) March 12, 2021

Nice plugin, very useful, efficiency top. Make it automatic for every new photo 
or drawing in medias, it will be giant !!! 😉

 [ Read all 90 reviews ](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/)

## Contributors & Developers

“AJAX Thumbnail Rebuild” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ junkcoder ](https://profiles.wordpress.org/junkcoder/)
 *   [ Risto Niinemets ](https://profiles.wordpress.org/ristoniinemets/)

“AJAX Thumbnail Rebuild” has been translated into 16 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/ajax-thumbnail-rebuild/contributors)
for their contributions.

[Translate “AJAX Thumbnail Rebuild” into your language.](https://translate.wordpress.org/projects/wp-plugins/ajax-thumbnail-rebuild)

### Interested in development?

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

## Changelog

#### 1.14

 * Fix security issues (props @patchstack)
 * Fix Github link (props @Julix91 @garretthyder)
 * Fix crop-settings for additional sizes (props @karlkowald)

#### 1.2.2

 * Compatibility with PHP 7.2 (props @thomas-gordon)
 * Implemented throttling and retries for image regeneration (props @da2x)

#### 1.2.1

 * NEW: Allow custom crop areas, [read more](https://developer.wordpress.org/reference/functions/add_image_size/#parameters)

#### 1.2

 * Compatibility with PHP7

#### 1.12

 * FIX: An issue where rebuilding thumbnails in the media gallery
    would not work

#### 1.11

 * FIX: An issue where the plugin would sometimes break the media gallery.

#### 1.10

 * NEW: Rebuild thumbnails of single images on the media attachment page.

#### 1.09

 * NEW: Checkboxes can be activated by clicking on text.

#### 1.08

 * NEW: Slovak translation, provided by Branco Radenovich.

#### 1.07

 * FIX: Don’t create metadata with empty size when original image is smaller
    than
   the target size.

#### 1.06

 * FIX: Don’t forget metadata for sizes that aren’t rebuilt.
 * FIX: Option to only rebuild featured images should now work correctly.
 * FIX: Don’t fail if there are no attachments.
 * NEW: It’s now possible to toggle all selected sizes.
 * NEW: Added translation: German.

#### 1.05

 * Add option to only rebuild post thumbnails (featured images)

#### 1.04

 * Tested with WordPress 3.2

#### 1.03

 * Fixed: Show correct height value for thumbnails.

#### 1.02

 * You can now select which thumbnail sizes you want to rebuild. Thanks to Nicolas
   Juen!

#### 1.01

 * Tested with WordPress 3.0

#### 1.0

 * Initial release

## Meta

 *  Version **1.14**
 *  Last updated **3 years ago**
 *  Active installations **30,000+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **6.2.9**
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/ajax-thumbnail-rebuild/), [English (Australia)](https://en-au.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [English (UK)](https://en-gb.wordpress.org/plugins/ajax-thumbnail-rebuild/), 
   [English (US)](https://wordpress.org/plugins/ajax-thumbnail-rebuild/), [Estonian](https://et.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [German](https://de.wordpress.org/plugins/ajax-thumbnail-rebuild/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/ajax-thumbnail-rebuild/), 
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/ajax-thumbnail-rebuild/), 
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/ajax-thumbnail-rebuild/),
   and [Swedish](https://sv.wordpress.org/plugins/ajax-thumbnail-rebuild/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/ajax-thumbnail-rebuild)
 * Tags
 * [admin](https://wordpress.org/plugins/tags/admin/)[ajax](https://wordpress.org/plugins/tags/ajax/)
   [rebuild](https://wordpress.org/plugins/tags/rebuild/)[regenerate](https://wordpress.org/plugins/tags/regenerate/)
   [thumbnail](https://wordpress.org/plugins/tags/thumbnail/)
 *  [Advanced View](https://wordpress.org/plugins/ajax-thumbnail-rebuild/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  83 5-star reviews     ](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/)

## Contributors

 *   [ junkcoder ](https://profiles.wordpress.org/junkcoder/)
 *   [ Risto Niinemets ](https://profiles.wordpress.org/ristoniinemets/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://breiti.cc/wordpress/ajax-thumbnail-rebuild/#donate)