We have magento setup with magento version 2.3.5-p2. Currently it is showing product broken product images. After running resize command bin/magento catalog:images:resize, product images are working fine.

Is there anyway to resize images automatically without running command manually?

  • Clear the image cache. If you don't run the resize command, Magento will resize that on the fly. Check view.xml under theme etc directory where you can found the image size
    – Sohel Rana
    Apr 18, 2021 at 5:21
  • Already tried serveral time. It is not working. Apr 18, 2021 at 5:32

1 Answer 1


you can run this resize commands automatically by keeping cron for a specific period of time as per your need. In this way, you don't want to run commands manually each time

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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