From what we know EWWW Image Optimizer plugin can resize automatically the images to a max width or height.

Please see this plugin: https://wordpress.org/plugins/ewww-image-optimizer…