central product image became invisible in dawn theme

i can see thumbnail images on all my product pages now but the central bigger image became invisible, how can i fix it? theme is dawn

1 Like

Hey @AnuragP

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

Hi AnuragP,

  1. Go to your Shopify Admin:

Online Store > Themes > Actions > Edit code

  1. In the code editor:
    Open this file:sections/main-product.liquid

  2. Find this line (or something similar):

{% render ‘product-media-gallery’, product: product, media_layout: media_layout, enable_image_zoom: enable_image_zoom %}

If this line is missing, commented out, or altered, restore it exactly like this:

{% render ‘product-media-gallery’, product: product, media_layout: section.settings.media_layout, enable_image_zoom: section.settings.enable_image_zoom %}

(Make sure section.settings.media_layout and section.settings.enable_image_zoom are used if you’re on Dawn v7+.)

  1. Save the file and refresh your product page.
    Your main product image should now appear again.

Thanks

Hi @AnuragP Can you share store url?