I'm using the post thumbnail feature to show portfolio work, so for example
<?php the_post_thumnail(); ?> the problem is I want to show a particular width of image only, which is 640 but because my pieces are website they have varying heights.
I'm using this code to create the images:
add_image_size( '640', 480 ,true ); // 640x480 image size but it's specifying the height how can I ONLY specify the width??
Ps. I know I could use CSS, but I want to actually create images at 640 wide and not use any timthumb stuff etc. Thanks