Facebook recommends to use for sharing images with a minimum size of 600 x 315 pixels and an 1.91:1 aspect ratio. Is there a way to automatically resize down original images uploaded to Wordpress to a size as close as possible to the recommended? I tried some plugins for resizing, but if images will not have the recommended 1.91:1 aspect ratio, one of the minimum sizes (width or height) will be smaller than recommended, because these plugins have a maximum size setting and not a minimum size setting. For example, if an original image have a size of 960 x 720 pixels, after resizing with a such plugin it have 420 x 315 pixels, so only the height is respected. In my WP installation posts are shared to FB with original images as a featured image, this is why I need a solution here. Maybe other scenarios can be used for this. Any help?
P.S. I can't set minimal dimensions for uploaded images because my posts are created by importing collected Facebook events which already have attached images of different sizes.