0

I want to show my image on product page but its display nothing please check image error below enter image description here

enter image description here

11
  • It clearly states the image is not in that directory. Some issue with the link building for img tag. Commented Sep 3, 2021 at 11:27
  • @AbdulSamadAbbasi Image is same directory but i am getting this type error
    – Mark
    Commented Sep 3, 2021 at 11:31
  • You haven't added any image for this product from admin? Commented Sep 3, 2021 at 11:34
  • I have added a product image but its showing blank in admin
    – Mark
    Commented Sep 3, 2021 at 11:35
  • I have added a product image please check above
    – Mark
    Commented Sep 3, 2021 at 11:45

3 Answers 3

1

Have you check the webserver config

  • .htaccess

  • nginx.conf

https://devdocs.magento.com/guides/v2.4/install-gde/tutorials/change-docroot-to-pub.html

Also, don't forget to check the rewrite URL in stores > configuration > general > web

1
  • I have solved it from stores > configuration > general > web
    – Mark
    Commented May 18, 2022 at 11:47
0

run below commands

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
1
  • I have try this commands but getting same issu
    – Mark
    Commented Sep 3, 2021 at 12:38
0

Please try below command. it can take time depend on your products/images.

php bin/magento catalog:images:resize

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.