Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

when uploading an image into the mediapool, wordpress will auto-resize it in several dimensions. unfortunately i'm requiring a special format which is kinda between thumbnail + medium. any ideas if it's possible to do that?


share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can call add_image_size in your functions.php:

add_image_size( 'medium', 240, 160, true );

Reference here:

share|improve this answer
And you might be interested in looking at the Regenerate Thumbnails plugin so that you can get your custom size for images you've already uploaded: – Dougal Campbell Mar 2 '11 at 15:14

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.