We have magento setup with magento version 2.3.5-p2. Currently it is showing broken product images. After running the resize command bin/magento catalog:images:resize, product images are working fine.
Is there any way to resize images automatically without running the command manually?