Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento product upload images are not appearing

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.

like image 384
ArturoCivit Avatar asked Sep 24 '13 19:09

ArturoCivit


Video Answer


2 Answers

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"

like image 140
Adelmar Avatar answered Sep 27 '22 22:09

Adelmar


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

like image 41
nazim10 Avatar answered Sep 27 '22 22:09

nazim10