To change the image size, go to Configuration > Settings from your Storefront panel. Under the Gallery dropdown, you can modify the width in pixel for the different image types. The height will automatically adjust according to the image's aspect ratio.
Thanks,