Hi, having a strange problem here.
When importing new products via .csv, the images do not show on the frontend immediately.
Actually, they do not show at all unless you click into the item. Once you've viewed the item once, the images then render perfectly from then onwards.
I am the site owner, and the company that do our Magento have been messing with this for weeks to no avail.
Screenshot attached, the 3 images show exactly what's happening, the first two have not been clicked, the third has and then the page refreshed and then they show fine.
Any ideas gratefully received, if I've missed anything please feel free to point it out, new (ish) to Magento.
Thank you
Hello @noel_vance ,
After the Data importing through CSV, you can run following commands.
php bin/magento indexer:reindex php bin/magento cache:flush php bin/magento setup:static-content:deploy -f chmod -R 777 var/ pub/ generated/
NOTE : I can't access your attached screenshot.
@noel_vance please try the below command, you will be able to see the images.
php bin/magento catalog:image:resize
Thanks
Hello @noel_vance
Did you try image resize command?
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/theme-images.html
Some more information
https://magento.stackexchange.com/questions/130725/what-does-catalogimagesresize-do-in-magento-2
Also store is in production mode?
Hi all.
Sorry for not replying sooner.
I think all the suggestions made have already been tried but I've got our developer checking this thread. Thank you for your support so far.
If you look at this page you can see what I mean, some have the Magento placeholder image, but if you click the item and then go back to the page, the image is there.
https://www.deutsche-parts.co.uk/parts-for-vw-caddy.html
It's a very odd problem
Please delete this product and add again and check.I have the same issue once.
@noel_vance wrote:Hi all.
Sorry for not replying sooner.
I think all the suggestions made have already been tried but I've got our developer checking this thread. Thank you for your support so far.
If you look at this page you can see what I mean, some have the Magento placeholder image, but if you click the item and then go back to the page, the image is there.
https://www.deutsche-parts.co.uk/parts-for-vw-caddy.html
It's a very odd problem