Hi,
I would recommend to use a graphics editor and prepare images of categories (make them the same size) before uploading images to your media gallery.
Or read this article and try to set Crop option – https://www.8theme.com/documentation/xstore/woocommerce/product-images/
Regards















