Hi Guys,
I'm using WordPress 3.0 and the 'the_post_thumbnail' function to resize my images. The problem is that the function doesn't resize to exact dimensions when you don't specify a square image.
// Works fine
add_image_size('my-image-size',100, 100, true);
// Image is only resized to width or height, not both
add_image_size('my-image-size',265, 182, true);
I'm pretty sure this is a bug, as I feel the image should be cropped to both dimensions to make an exact size. I could just edit the 'image_resize_dimensions' function in media.php, but I'm wondering if there is a better way, some way to override that function with my own?
Thanks!
Darren.