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.

2 Answers 2


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.


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.