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?


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.

  • 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. ;) – Steve Nov 28 '12 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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