Hello,
We would recommend you to use a graphics editor and prepare product images (make them the same size) before uploading it to your media gallery.
Regards