[Solved] Product image not showing into after upload to server – magento-2 data migration

Pk Ray Asks: Product image not showing into after upload to server – magento-2 data migration
Recently I have migrated the magento-1 (ver: 1.9.1.1) data to magento-2 (Ver: ver: 2.1.7) fress version using data migration tool. And it working perfectly in our local computer (localhost).

I found an issue after upload it to server m2.hiddencamera.com.au that some product image (thumbnail and in details view) not showing instead it showing blank image (http://m2.hiddencamera.com.au/hidden-cameras?cat=84).


Product image showing in localhost

Then I have removed the cache, reindex, upgrade (setup:upgrade, indexer:reindex, cache:clean, cache:flush) using SSH. Even I have flushed Catalog Images Cache for pregenerated product images files from Dashboard -> System -> Cache Management. But no luck.

After inspecting the blank image that the image (url) are not serving from pub/media/catalog/product/cache/ instead it serving from pub/static/. But in localhost all product image source is pub/media/catalog/product/cache/.

Finally, I have contacted with the hosting support about the issue but, unfortunately they failed to fix the issue. They didn’t found any error from error log. They also try to solve the issue using setup:upgrade, indexer:reindex, cache:clean, cache:flush etc but no luck.

I am requesting for help from the experts to resolve the issue.

Regards,

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.