Okay
  Public Ticket #1727212
Different image dimensions in product page and lightbox
Closed

Comments

  •  5
    geeckin0s started the conversation

    Hello,

    is it possible to display an image dimension let's say 500x500 on product page and when you click in and go to lightbox, the same image will be 2500x2500?

    Thank you in advance.

  • [deleted] replied

    Hi there,

    This option is possible by default in the theme. So when you open image in the lightbox it will open the original image that you have uploaded. You can upload images that are 2500x2500.

    Have a great weekend!

  •  5
    geeckin0s replied

    Hello,

    thank you for the reply. And I suppose that i can adjust the image that is shown in the product page by going to theme options > shop settings > single page > custom image size?

    The default dimensions for this is 820x1230px ? How does it work? Let's say that I upload a product image that is 2500x2500, what will be the dimensions of the image in the product page? Is there a max width and height?

    Thanks.

  • [deleted] replied

    Hi,

    WooCommerce offers automatic cropping for product thumbnails, simply go to Appearance > Customize and then head to WooCommerce > Product Images and then select Custom for Thumbnail Cropping:


    (view large version)

    If you are unsure which ratio to set, you can use this website to generate image ratio based on pixels:

    https://andrew.hedges.name/experiments/aspect_ratio/

    For example for 500x500 image size the ratio is 2:2:


    (view large version)

    Then click save and if the image sizes will be changed, it will take a while to process images on background and depends how much images you have.

  •  5
    geeckin0s replied

    And what about the custom image size in the theme options? What does it do?

    Also, are there maximum dimensions for product images?

  • [deleted] replied

    Hi there,

    — Yes, you can try that area to create an exact size that you prefer. Please don't forget that Thumbnails regeneration is required.

    — As I'm aware there are not maximum dimensions, but I prefer you to upload images that are maximum 1500px width.

    Have a great day!

  •  5
    geeckin0s replied

    Ok thanks!