WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have added a new (small) image size to the theme we develop:

add_image_size('small', 160, 91, TRUE);

How to automatically generate these small images (exactly of the specified size) for every image uploaded in the past?

share|improve this question
up vote 2 down vote accepted

WordPress doesn't regenerate the newly registered size, only applies it to future uploads.

You'll have to use something like the Regenerate Thumbnails plugin or one of the similar ones available at WordPress.org.

share|improve this answer
Regenerate Thumbnails plugin seems not to create images of my custom size (see my question for exact specification of the size I need). So it isn't a solution for me. – porton Nov 28 '12 at 18:31
Hm, now it works. Probably I should have press Ctrl+F5. – porton Nov 28 '12 at 18:32
That does help. ;) – Stephen Nov 28 '12 at 19:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.