I am allowing users to upload thumbnail images for posts they make. In order to comply with the site's layout, the images have to be about 450px x 225px.
Obviously, I wouldn't want to limit users to only being able to upload images with those exact dimensions. And I don't want to just resize the images to those dimensions, because it will distort them.
Is it possible to set an img tag to hide any overflow? That way, if someone uploads an image that is 600x300px, it will "crop" it?