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

I want to know how to make rules to re-size the images for featured image? I am uploading an image in featured image section but it is not cropping the images in exact width and height for all the images. I need (width:100 X height:140). So how to do that? Any help and suggestions are welcome.

share|improve this question

You can set default site for featured images using set_post_thumbnail_size() or request different registered size by providing it as argument in the_post_thumbnail() call.

share|improve this answer

in wordpress, you can set the width and height of the thumbnail image by:

share|improve this answer

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.