In magento admin while adding products image is not uploading.I tried by uploading in different browsers but it too doesn't worked.I have given 777 file permissions to media folder.When i upload image, image is stored in media/tmp/catalog/media folder.But it is not showing the image in the magento admin.Here is the screenshot of the issue.Can there be any reason for the image not saving in product in admin.enter image description here

  • Did you tried clearing browser's cache, or any other browser – TBI Infotech Jun 12 '14 at 5:13
  • Yes i tried clearing browser cache and also in other browser but image is not uploading.@TBIInfotech – Abinaya Jun 12 '14 at 5:15
  • Check if you have enough space at your FTP and if the limit was not exceeded. – TBI Infotech Jun 12 '14 at 5:27
  • Ok try logout and login, and check if the image is showing? – TBI Infotech Jun 12 '14 at 5:51
  • Image is saved in media/tmp/catalog/product folder. – Abinaya Jun 12 '14 at 6:32

Disable flash uploader magento and install the below plugin to solve the issue. The Key for connect 2.0

  • 3
    could you please give some more detailed information on this plugin – David Manners Jun 13 '14 at 13:58

I have the same problem. The issue was with the PHP7.0.

I have such situation First

I have chosen the image, have clicked the "Upload" button. The row with the file name has become in red color.

I have debuged it and found error

Then I have fixed it quickly I have added the {} symbols and Uploading starts working

  • Yes, It's working – Paras Arora Oct 22 '16 at 8:54
  • the change in code saved my life! was looking for hours until i stumbled upon this answer – Bart Hofma Jan 30 '17 at 1:43
  • @xdoctordog sorry i dont get what u r suggesting on that line . Can u plz explain it – inrsaurabh Jul 11 '17 at 11:45
  • Please, try to add braces in core Magento file, like I had shown on the screenshot. – xdoctordog Aug 28 '17 at 10:06

Product images are not uploaded in magento admin

  1. Make Sure u have uploaded flash player
  2. Enable GD library in the php.ini file -> ;extension=php_gd2.dll Remove ;

Give 777 permission to this folder : /opt/lampp/htdocs/magento/media/wysiwyg


Goto FTP open Media Directory and just change name of

.htaccess to .htaccess_old

And remove the Cache

  • 3
    Never use this solution. You may face other issue to. Because .htaccess files are used for setting up site configuration and renaming current one will overwrite setting and a default one will be created. – Trimantra Software Solution Jan 29 '15 at 10:49
  • 1
    When you do this, you open yourself up to people uploading php scripts into your media directory structure and being able to execute them. Congratulations for opening up a security hole that the Titanic can pass through. If you read that .htaccess file, it has specific entries to prevent execution of files out of the media folders. – Fiasco Labs Jul 24 '15 at 0:00

What worked for me (on an older version of Magento of was a recursive permission of 777 of the media folder AND renaming the .htaccess to .htaccessold - I then logged out, cleared the cache, logged back in and IT WORKED!!

  • 3
    The removed .htaccess file had specific entries to prevent file execution out of the media folder structure. You've just enabled a security hole. – Fiasco Labs Jul 24 '15 at 0:02

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.