Showing results for 
Search instead for 
Did you mean: 

Product image issue in production mode

Product image issue in production mode



I am using the Magento version 2.4.4 and facing some weird issue. 


In developer mode

 - The product image is not displaying in home page only, In all other page product image is displaying.

 - Already tried the 

  • php bin/magento indexer:reindex

  • php bin/magento cache:flush

  • php bin/magento setup:upgrade

  • php bin/magento setup:static-content:deploy -f

  • php bin/magento catalog:image:resize

I checked the Image source.  I found the URL is not proper . 


But when I change the developer mode to production mode then the image is showing.




When I  change to the production mode then Image showing properly but the menu bar (Navigation Menu) is not there. 






Re: Product image issue in production mode

Please check the permission of cache & pub/media should be 777 . 
If media url is not correct then go to configuration ->web -> base secure url & base unsecure url change it