Product images are shown on the Main Front Home page but when single product image clicked and land on the product details page, product image is not shown not appearing instead a gif is loaded. I can't figure this out. Since the folders permission seems to be OK, memory limit set right and etc.
1 Answer
Check browser console if it points any specific javascript error. Please check the recent changes made on the site.
Additionally, if you are on production, assuming you have made some recent changes which need to be compiled try recompiling using
php bin/magento setup:di:compile
followed by
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
-
In Browser Console I am getting JSON Parse error. JQMIGRATE: Logging is active jquery-migrate.js:21:2 SyntaxError: JSON.parse: bad control character in string literal– MuboDec 28, 2018 at 10:10
-
In some latest commits, there may be something which can't be parsed by JSON. You need to check the latest commits and maybe developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…– Kumar A.Dec 28, 2018 at 10:37