I have recently imported products alongwith product images from Magento 2.3 import tool. After import, these images are showing in Admin panel but not in frontend.

When I see the path in frontend, I find it like this:


I tried to figure out the same path but not present, the actual images are present on the path /pub/media/catalog/product directory which I feel is perfect for magento to work but actually no luck.

What I did as remedy is below:

sudo php bin/magento setup:di:compile sudo php bin/magento setup:upgrade sudo php bin/magento setup:static-content:deploy -f sudo chmod -R 777 pub/media

But none of the solutions is working for me.

1 Answer 1


Try below command:

php bin/magento catalog:image:resize

The above command should regenerate the images in the required folders.


Your Answer

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

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