Product Gallery Images Won't Load - by kw13

This topic has 6 replies, 3 voices, and was last updated 5 years, 6 months ago ago by Rose Tyler

  • Avatar: kw13
    kw13
    Participant
    June 13, 2019 at 00:16

    Hi,

    A customer told me today that only the first product image on each page is loading – I’ve confirmed this. When you click on other gallery images only a spinning icon is displayed. I’ve tried making changes to how photos are displayed in the theme options and it just makes the photos not appear at all (even the main ones). Can you please help with this?

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 13, 2019 at 07:27

    Hello,

    Try to disable all the third-party plugins, that do not come bundled with our theme, and check how it works then.

    Regards

    Avatar: kw13
    kw13
    Participant
    June 13, 2019 at 08:22

    It turned out to be WP Rocket. I had to to add a rule in advanced settings to never cache:
    “/product/.*” for logged-in users.

    Something must have changed with the theme or WooCommerce though because WP Rocket has been setup to cache pages for a couple years and I’ve never had issues with gallery images not displaying.

    Do you know if there’s a fix for this? I don’t want to have to disable caching all product pages just because of the gallery images.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 13, 2019 at 15:18

    Hello,

    I don’t think that you need to exclude the product pages from caching but try to turn on/off WP Rocket options one by one to find out which one could be the reason of the problem. Or provide us with FTP access and we’ll do it for you.

    Regards

    Avatar: kw13
    kw13
    Participant
    June 13, 2019 at 21:31

    I turned off all of the options one by one and the only thing that worked was turning off the cache for logged-in users entirely. I then reactivated caching for logged-in users and excluded product pages and the gallery images appeared correctly so the conflict seems to be limited to that feature. Do you know if there’s a way to narrow down the no cache setting to just the gallery on the product pages instead of the entire pages?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 14, 2019 at 07:01

    Hello,

    Could you, please, provide temporary wp-admin and FTP access, so we can take a closer look?

    Regards

  • Viewing 6 results - 1 through 6 (of 6 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.