I have the following set up in my functions.php
add_image_size( 'medium-img', 450, 300, true );
and I have uploaded an image that is 1024x768.
The problem is that it's cropping the image to 400x300.
Is there any way I can get images that are not of the same ratio to crop at the size I've specified?