I want to get an uploaded image fitting 100% inside a div. The problem is that, the uploaded image has different size. For example, I uploaded an image and wordpress created an 150x150 thumbnail. I want to display that thumbnail into a div which is 200x150. It is okay that the image propotions will be distorted, but I am unable to do that. I am trying:
<?php the_post_thumbnail( array(200,150) ); ?>
It only shows 150x150.
PS. I don't want to add resize another copy of image using set_post_thumbnail_size. Instead I just want to make the thumbnail fit into a div by stretching it.