This topic has 6 replies, 3 voices, and was last updated 5 years, 6 months ago ago by Rose Tyler
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?
Hello,
Try to disable all the third-party plugins, that do not come bundled with our theme, and check how it works then.
Regards
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.
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
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?
Hello,
Could you, please, provide temporary wp-admin and FTP access, so we can take a closer look?
Regards
You must be logged in to reply to this topic.Log in/Sign up