Question

I upgraded to magento 1.9.2.3 and now, when I try to upload a product image, the back-end shows the white square with a "?" in the centre. I attach a screenshot. Can you help me to solve this problem? enter image description here

Was it helpful?

Solution

This is less than a full answer but i looked thru the link Fabian put in comments and found an answer that I tried and it worked. Liam's answer link with comments

Here's a problem I've found when patching Magento CE with SUPEE-7405. It replaces the line:

chmod($destinationFile, 0777);

with:

chmod($destinationFile, 0640);

in the file lib/Varien/File/Uploader.php

This stopped my images displaying in the back end, since this file permission should actually be 644. Is there any reason this has been set to 640?

When I changed the line 219 to 0777 from 0640 it worked. Until I have a better understanding I'll use this.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top