I want to add a custom image size that is cropped, like this:
add_image_size( 'large-cropped', 700, 300, true );
It works fine. The only problem is that if the image size is for example 500×400, then it will create an image that is 500×300.
I only want it to create an image if the width is at least 700
pixels width.