- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
product images showing in godaddy install but not on localhost
Hi,
I took a backup of my godaddy magento 2.1.6 code and db and installed it on local machine. The home page works find and the banner images load. However, the product pictures don't show up when i visit the category pages or the product details page. On the category pages its just a blank where the products should be listed, and on the product pages, its place holder images.
The godaddy install is on linux and local machine is on windows. Does that have anything to do with this? Any corresponding change i need to do?
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: product images showing in godaddy install but not on localhost
Hi @Abhishek260
There should be a two reasons for this.
Firstly check the pub/media directory is there and in that images are there or not ? it might be corrupted when you have taken a backup of the existing magento
Check the permission and ownership of pub/media directory it should be writable.
Also run this command - php bin/magento catalog:images:resize and then check.
For more reference of this issue below i am sharing two links which helps you on the same !
Hope it helps !