the_post_thumbnail() without proportion

Is it possible to tell WordPress to show the_post_thumbnail() without the proportion rate.

I need what the width and height to be exactly what I want

Read More
the_post_thumbnail(array(350,350));

If the image is larger than the height, it will only put the height to 350px and ignore the width that i’ve set to 350 too.

How could I hack this ?

Related posts

Leave a Reply

2 comments

  1. Just use the timthumb method explained here:
    http://www.binarymoon.co.uk/demo/timthumb-basic/

    Works great and will let you do exactly what you need after copying the timthumb.php into the proper WP Theme directory.
    Just pass your source image and the h x w of the exact size of your final cropped image, like so:

    timthumb.php?src=castle1.jpg&h=350&w=350

    Instructions and examples are provided by following the above link.

    Good Luck!!

    Marcelous