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.

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?

thanks

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

share|improve this answer
1  
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

 
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.