Magento product upload images are not appearing

41,390

Solution 1

There are many things that could be causing this issue, but here's a few things for you to look into:

  1. On the Product Information page in your admin backend, under 'Images', make sure the radio buttons have an image selected for 'Base Image', 'Small Image', 'Thumbnail', and that they aren't 'Excluded'

  2. Make sure the product images exist under /media/catalog/product/ (relative to your document root)

  3. Make sure the /media directory is in your Apache web server's group (usually 'www-data' or 'httpd'). Magento also needs to be able to write to this directory, so you can run this command to set those permissions:

    sudo chmod -R 775 /path/to/magento/media
    
  4. In System->Configuration->General->Web, make sure "Base Media URL" is correct under both "Secure" and "Unsecure"

Solution 2

Just rename .htaccess to .htaccess-old inside media directory in Magento Root Directory.

Solution 3

You need to do the following to get this right:

  1. Recursively change permissions -r or via ftp set media folder to 777
  2. Make sure your server has curl, image gd enabled and refresh magento cache
Share:
41,390
ArturoCivit
Author by

ArturoCivit

Updated on July 09, 2022

Comments

  • ArturoCivit
    ArturoCivit almost 2 years

    I'm uploading products to my Magento store but products are not being displayed.

    I can upload the image using the admin area and when managing my products I can see the images there, but once I go to the front end I just get the Magento logo where the product image should appear.

    This has been happening since my server migration so I'm not sure if its related or not.

  • ArturoCivit
    ArturoCivit almost 11 years
    Hey brother, thanks a lot, this one did it, sorry, I'm a newbie whenit comes to Magento, this one fixed it: On the Product Information page in your admin backend, under 'Images', make sure the radio buttons have an image selected for 'Base Image', 'Small Image', 'Thumbnail', and that they aren't 'Excluded'
  • ArturoCivit
    ArturoCivit almost 11 years
    Sure thing. I accepted but can't upvote because it says that I need 15 reputation.... go figure..... anyway, thanks so much for your valuable response!
  • kleopatra
    kleopatra over 10 years
    Note that link-only answers are discouraged, SO answers should be the end-point of a search for a solution (vs. yet another stopover of references, which tend to get stale over time). Please consider adding a stand-alone synopsis here, keeping the link as a reference.
  • Marián Zeke Šedaj
    Marián Zeke Šedaj about 8 years
    Installing gd worked for me, you saved me a couple of hours, thank you
  • Zac Grierson
    Zac Grierson about 8 years
    This is not advisable since it will open security holes in your application.
  • Zac Grierson
    Zac Grierson about 8 years
    777 is not advisable in production environments and should be used very rarely.
  • Ejaz
    Ejaz almost 8 years
    This does not answer the question