One of the websites I work with has a WooCommerce store with well over 2000 products. Recently, I replaced all of the rather hodge-podge product images with new ones snipped out of our catalogues, which took quite some time. However, while they're uniform in aesthetic, being simple CGI representations of the products on white backgrounds, there is quite a lot of diversity in the dimensions of the images, meaning that they either display unevenly when alongside each other, or display cropped in the product thumbnails.
Is there a plugin (or a different method) of adding white space to these images en-masse so they are all of an equal height and width? This could be an actual edit to the image files themselves, or written rules via CSS or HTML that dictate how they display in a way that they appear to be of the same scale (the site has a white background so the latter would work fine). I would rather not have to do this manually through Photoshop is all, as there is a large amount of images and it would take quite some time to edit and reupload them all.