I m having trouble in resizing media images. I tried add_image_size function to resize my original image like below.
add_image_size( 'my_thumb', 145, 100);
it creates thumb images with height 100 but it changes width for every image.
like some image 66x100,140X100 .How to make sure the width 145
Sorry could n't share links and screenshot due to low reputation
I tried also timthumb. getting same result.Where i'm stucking .
Please help me.
Thanks in advance


add_image_sizecreates an image of specified size when you upload a new image into a gallery. Is that what you exactly want? Or you want to display an image with specified size? Then you need to usethe_post_thumbnail( 'your-size' );in the loop. – Alexey Sep 28 '11 at 5:32