Magento product upload images are not appearing
Solution 1
There are many things that could be causing this issue, but here's a few things for you to look into:
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'
Make sure the product images exist under /media/catalog/product/ (relative to your document root)
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
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:
- Recursively change permissions -r or via ftp set media folder to 777
- Make sure your server has curl, image gd enabled and refresh magento cache
ArturoCivit
Updated on July 09, 2022Comments
-
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 almost 11 yearsHey 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 almost 11 yearsSure 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 over 10 yearsNote 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 about 8 yearsInstalling gd worked for me, you saved me a couple of hours, thank you
-
Zac Grierson about 8 yearsThis is not advisable since it will open security holes in your application.
-
Zac Grierson about 8 years777 is not advisable in production environments and should be used very rarely.
-
Ejaz almost 8 yearsThis does not answer the question