5

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

Abinaya
  • 161
  • 1
  • 4
  • 11

6 Answers6

4

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

xdoctordog
  • 41
  • 2
4

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

http://connect20.magentocommerce.com/community/Dull_Uploader
Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
alamelu
  • 446
  • 3
  • 14
3

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 ;
7ochem
  • 7,532
  • 14
  • 51
  • 80
Nils k
  • 31
  • 3
0

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

-2

Goto FTP open Media Directory and just change name of

.htaccess to .htaccess_old

And remove the Cache

TBI Infotech
  • 4,788
  • 1
  • 13
  • 30
  • 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 00:00
-2

What worked for me (on an older version of Magento of 1.3.2.4) 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 00:02