Resizing image size on product page - by marenlm

This topic has 9 replies, 3 voices, and was last updated 8 years, 4 months ago ago by Olga Barlow

  • Avatar: marenlm
    marenlm
    Participant
    December 15, 2015 at 13:32

    Hi,
    I have changed the size of images for products in the WooCommerce settings. I have also regenerated thumbnails. Still the product photo is enormous on the product page. How do I change this?

    8 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 15, 2015 at 14:02

    Hello,

    Please provide us with WP dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: marenlm
    marenlm
    Participant
    December 15, 2015 at 14:11

    Here they are.

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 15, 2015 at 14:18

    Hello,

    Unfortunately to change image settings you need to edit template file legenda/woocommerce/single-product/product-image.php . Create child theme, copy this file into child theme and then change the $mainImageWidth = 600; $mainImageHeight = 900; $mainImageCrop = false; to values you need. If you provide FTP details I could help you with it.
    If you want to make image block width smaller you can also enable sidebar on single product page.

    Regards,
    Sandra Ledford

    Avatar: marenlm
    marenlm
    Participant
    December 15, 2015 at 14:36

    Why isn’t it possible to simply resize the image from the WooCommerce settings? I thought it could be done from there?

    I’ll provide FTP details, I’d appreciate help!

    Can you also instruct me on how to add sidebar to single product page in case I want to try it?

    Please, contact administrator
    for this information.
    Avatar: marenlm
    marenlm
    Participant
    December 15, 2015 at 15:49

    Hi again,
    I can tell from the single product page that the image size has been fixed – great! However, the alignment seems off. It used to be on the left, with the product information to the right. The thumbnails are also a lot smaller (their size was fine).

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 15, 2015 at 16:10

    Hello,

    It used to be on the left, with the product information to the right.

    As I see the single product page displays product image on the left and description on the right (here is the screenshot http://prntscr.com/9egykk ). Could you please show us a screenshot what exactly is incorrect.

    Can you also instruct me on how to add sidebar to single product page in case I want to try it?

    Go to Theme Options > Single product page > Sidebar position and select layout with sidebar. After add needed widget in Appearance > Widgets > Single product page sidebar.

    Best regards,
    Jack Richardson.

    Avatar: marenlm
    marenlm
    Participant
    December 15, 2015 at 16:18

    It seems to be in perfect order now! I guess I refreshed while you were mid-process. 🙂 Thank you!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 15, 2015 at 16:37

    Hello,

    You are welcome!

    Best regards,
    Sandra Ledford.

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.