Certain images are missing from my frontend. The cached image location seems to be wrong however all the rest of the images are there and intact. I am just wondering why those images are not automatically generated upon visiting the product page? The issue is that I have 50K images if I generate those using bin/magento catalog:images:resize command it will take forever.

  • "seems to be wrong" please verify this assumption Commented Apr 17, 2020 at 8:24
  • if I look for the image it is there but the hash is different than the one that should load on the page? Commented Apr 17, 2020 at 9:11
  • the rewrite is in the pub/media/.htaccess file, maybe you accidentally deleted that file? Commented Apr 17, 2020 at 17:31
  • Nah, it is all there :( Commented Apr 17, 2020 at 18:43

1 Answer 1


The issue was permissions. The permissions on ./var/resource_config.json were incorrect. The webserver didn't have write permissions.

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.