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.

asked Aug 31, 2020 at 5:43

1 Answer 1

1

Try below command:

php bin/magento catalog:image:resize

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

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.