Image Not Uploaded in Magento 1.9 Product Media

imagemagento-1.9mediaproductproducts

I am using Magento Version 1.9.0.1. When I tried to upload an image for a product I get below error.

I tried reinstalling Magento, but that didn't work.

Please help me to identify the problem and fix it.

enter image description here

Best Answer

There's a number of things to consider before checking logs (which you should do anyway):

  1. Is your upload_max_filesize big enough?
  2. What are the privileges of your media folder (your server must be able to write there, otherwise no uploads)?
  3. Do you have enough space either in PHP tmp catalog or media catalog?
  4. Do you have enough inodes?
  5. Do you have file upload enabled at all (perhaps you have file_uploads=Off)?
Related Topic