I have uploaded some thousands of product with 1 to 5 images each, so a consistent amount of images after all. After the upload I reviewed all the images one by one and they were ok.

Now, one week has elapsed and randomly some products have lost the image associated: on the frontend, I see the placeholder, and on the backend I see a white image with a red cross in the upper left corner. This happens on around one tenth of all products, so I can't see how this can be caused by permission issues at all.

Refreshing the images cache didn't help. The only way to fix the problem is to reload the images of the corrupted products.

Here is the html image code in the frontend:

<img src="MyDomain/media/catalog/product/cache/1/image/512x512/fa01ed8f021de4a5438a05fb5586c842/placeholder/default/logo.png"  alt="MyArticleName"/>

And here is the code in the backend:

<img width="100" alt="" src="MyDomain/media/catalog/product/0/7/MyImage.jpg" />

This is a non-existing path (folder 7 is missing).

  • check your media folder permission on server – Keyul Shah Jan 3 '14 at 7:49
  • open one product detail page which not contain the image and check in view source it will coming form media/cache folder or not let me know – Keyul Shah Jan 3 '14 at 8:17
  • remove your catch folder from the media/catalog/product/cache and run again your website. – Keyul Shah Jan 3 '14 at 10:48
  • yes I know that but some time its not working so. in back end in product edit mode it will display image or not? – Keyul Shah Jan 3 '14 at 11:05
  • can you put that image? – Keyul Shah Jan 3 '14 at 12:05

Thanks to the suggestions in the comments, I have spotted that one of the folders used for storing images have been deleted. This is likely to have happened during migration from the test folder to the hosting root.

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.