Product picture wont adjust from a small rectangle

I want my products to appear in a grid but the pictures to be either a square or vertical rectangle. I have tried to adjust the product image sizes in the setting but it doesnt change them. Any suggestions on what to fix?