Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #479106

    Is it possible to show WooCommerce product images in the same size every everywhere – on category and product page, without being stretched. I have product images in a variety of sizes, some are 300px x 300px and other are 120px x 600px etc….
    I would like to have the pictures to show the same way … example: max height / width product page 350px – without the picture is stretched – the narrow image 120px should be centered with white backgrounds with both sides.

    Hope you have a solution

    #479203

    Hey 2funky!

    Can you send us a link to the pages / posts your referring to so we can take a look?

    Regards,
    Elliott

    #479392

    Hey Elliott,

    See shop page + product page
    – the wine and chocolat should be same size as the glass.

    Regards, Pete

    • This reply was modified 9 years, 4 months ago by 2funky.
    #480255

    Hi!

    The images your using are 100 x 400 and 400 x 200. They are pretty much the opposite aspect ratio so your not going to get them to display the same size. You could force it with CSS but it’s going to look bad.

    .inner_product img { max-height: 300px !important; min-height: 300px !important; }
    

    It would be best to use some larger images so they can be cropped.

    Best regards,
    Elliott

    #480286

    Hey,
    Thank you, I have inserted the code, but it does not solve the problem …
    Product images are stretched wrong and it dosen’t change on the product page.
    Most of my clients images, are not big.
    Is it because. The page is responsive – I have worked with other shop systems where it is no problem

    Hope you have a solution.

    Regards Pete,

    • This reply was modified 9 years, 3 months ago by 2funky.
    #481176

    Hey!

    The max width and height of the images in the product page is set to 450px by default. They will not go larger beyond that point unless you happen to change the size on Woocommerce > Settings > Products > Display panel. You can create a canvas 450x450px in size then attach the product image there before uploading them. Use photoshop or any image editor.

    Regards,
    Ismael

    #481239

    thanks! ;)

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘woo product images same size!’ is closed to new replies.