Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.