WordPress - Cropping thumbnails without losing quality
问题 I have a website on which there is a "shop" page. Each product has a thumbnail assigned to it. I set a custom thumbnail size with this code: if ( function_exists( 'add_image_size' ) ) { add_image_size( 'products', 150, 84, true ); } Cropping works fine, but when the image is too tall WordPress crops it to the "height" parameter and the final result is a thumbnail too narrow to look good. Is there a way to make WordPress select a part of an image (150x84 px fragment) and use it as a thumbnail