I have upgraded my Magento EE store from 2.2.7 to 2.3.2. An issue occurred of images not showing on product pages.

I debugged a bit and ran the command "catalog:image:resize" and images appeared. But when I flush catalog images cache from admin, the issue appeared again.

I think the images cache is not generating. The permission for pub/media are also 777.

Also the product images are appearing on category page but not on product page.

1 Answer 1


After intense searching and debugging, issue appeared to be of missing htaccess file in pub/media/ folder. Added the file from magento 2.3.2 git. Because the images cache folders weren't generating due to missing htaccess.

  • Make sure .htacess does exist in pub/media Commented Nov 18, 2023 at 12:13

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.