Product Gallery Images Won't Load - by kw13

5 replies3 participantsUpdated by Rose Tyler

  • Avatar: kw13
    kw13
    Participant

    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

    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

    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
    Participant

    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

    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

    Hello,

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

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register