• Resolved cilla97

    (@cilla97)


    Hi

    We are having issues with some of the product images not displaying and had to do some coding to the plugin however this will be lost on the update.

    The product image sizes are coming as zero and one in the single product page. I made changes in function wc_get_gallery_image_html, I set the image size to ‘full’ in ‘wp_get_attachment_image’ and manually added ‘data-large_image_width’ => 500, ‘data-large_image_height’ =>500,. Now it is working fine. File: /wp-content/plugins/woocommerce/includes/wc-template-functions.php

    I have contacted the theme developer as well but if you can please help so this doesn’t cancel out when a new woocommerce update happens.

    Oh I did try to contact support via your main woocommerce website however your support tab doesn’t appear to be working.
    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    If you’re one of our customers at WooCommerce.com, then the fastest way to get support is through our premium support. I tested it out and didn’t have any trouble – where are things going wrong?

    Great that you solved this with custom code, but it’ll cause trouble with updates. You should have some options for those images sizes under <b>Customizer > WooCommerce > Product Images</b>, which is where you can update them. If you’re missing those options, though, the theme isn’t handling it right – the best thing to do is work with the theme developer.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Product display images’ is closed to new replies.