https://www.ask-sheldon.com/resize-product-images-magento2/
Resize product images in Magento2