1

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:

https://mywebsite/pub/media/catalog/product/cache/0881516b480c504c1d3d479a585547eb/agst02-natural-study-table-home-office-desk-solid-wood-tulsa-6.png

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

1

Try below command:

php bin/magento catalog:image:resize

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

2
  • 1
    this is amazing. Commented Aug 31, 2020 at 6:15
  • happy to help :)
    – Toji
    Commented Aug 31, 2020 at 6:47

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.