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

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
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: http://codex.wordpress.org/Function_Reference/add_image_size

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: wordpress.org/extend/plugins/regenerate-thumbnails – 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.