What to Check if You Cannot Upload Magento Images?
Online store does not have the shelves filled with products for customers to touch and examine goods from every side, like they can do at any brick-and-mortar stores. This makes the use of compelling product images immensely important for online merchants. Thus, uploading Magento images is not just an option to use, it a real necessity. However, very often there occur different problems with images upload.
Sometimes you cannot add images at all or even if you successfully uploaded image manually or via Magento import products images procedure, Magento does not show the image in front-end.
There are several possible reasons that could be causing this issue. In this article we have gathered a short checklist to be reviewed in order for this problem to be eliminated.
- Cache and re-index
If you are getting stuck with images that have been uploaded, but not visible at the site, do not forget that images upload is the bulk procedure and in order to be able to see the changes at the front-end you need to do make sure that you have cleared cache and refreshed Magento indices.
To run reindex in your Magento admin panel go to System -> Index Management -> select all the boxes -> choose Reindex Data -> Submit
To refresh your cache open System -> Cache Management -> select the boxes -> press Flush Cache
After that log out/ login and see if the image is visible at product page.
- Magento image size
In most cases images size should be less than 2 MB. If you have to upload bigger pictures, check your php.ini file see what the maximum upload size and if necessary edit setting to allow the desired size of files or ask your hosting provider to do this for you if possible.
- Spaces in image names
Check if in image names there are no spaces, as sometimes spaces can be treated as additional symbols and because of this images may not be shown correctly. Conciser replacing spaces with underbars.
- Image types checkboxes checked (not excluded)
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'
All image columns in the file (if you import images)
As was mentioned above, in Magento there are images of 3 main types - small, base, thumbnail. If you want these images to be assigned to product (boxes checked) and use default Magento Import/Export tool, you need to have picture names with leading slash (/image_name.jpg) in separate columns of your import spreadsheet.
All those images will be shown in the Gallery - at main image at product page, where client can click on them and view the product from each and every side.
Images themselves with identical names as in the file should be beforehand uploaded to media/import folder via FTP.
- Image location at the server
After images appending procedure, they will be placed to corresponding sub-folders under /media/catalog/product/ directory, created on the basis of image name, for example - the image name is “image123.jpg” and after import it will be placed to sub-folder i/m/image123.jpg (first sub-folder corresponds to 1st letter and second folder created on the basis of 2nd letter of image name). Connect to your store via FTP and check if your images physically uploaded to correct locations.
- Media folder permissions
Check if your media folder has all the permissions that allow you to perform the changes. In case there are some restrictions, most likely you won’t be able to upload images. There can also be some issues with the owner of the media folder - it occurs when you move Magento from another server. Check it out with your hosting.
- Browser and flash
In case you’re uploading it with Admin, try another browser and make sure that pop-up blocker is turned off there. If you do not have 'Browse files' or 'Upload images' buttons browser does not support flash.
- Images from the URLs
Make sure that your Magento import products images method handles upload of the images from external sources. In case you are using default Magento import method, it does not support remote images. You need to download pictures and locale them to your FTP before the process.
- FTP quota
Check if there is enough space at your FTP for images upload. If you exceed the quota, you will need to delete some of images that you may not use anymore to ensure enough space for successful image upload or you can enlarge the quota with your hosting company.
Still cannot upload images? Check alternative way
If all the above points are checked, but if the issue still remains, you can try to upload images or perform Magento import images procedure via the application called Store Manager for Magento application.
It handles both good import of local and remote images and automatically uploads them to your FTP to appropriate directories. Also there is very convenient built-in Store Diagnostics tool that allows you to see missing product images or those which are not linked to products. In case you have great number of products, it will save your time considerably, as you will always be aware of the state of your product images.
Do not let yourself to get caught in an endless loop of images upload issues. Find easy way to communicate with your clients and build up proper owner-to-consumer business relationships. Adding images via Store Manager for Magento application will not only help attract more buyers, it will improve the overall level of attractiveness of your online business.
Get advanced and flexible images import tool Download FREE!
No More Missing, Duplicated or Unlinked Magento Images
Find out how to prevent your images from getting duplicated, unlinked or undisplayed and what to do if issue occured. Read More...
Store Diagnostics – Keep Magento Images Under Control
Check how to automatically detect products with missing or broken images and get the list of unsused Magento images. Read More...
Upload Magento Swatch Images to Configurable Products
Get the full explanation of Magento swatch images and their purpuses and find out the ways to assign them to products via admin and Store Manager. Read More...
Hi, I use Firefox and when I select an image, and click the "upload", then the system starts to upload, because I see the numbers increasing very fast, then I get the product name and a frame "red". please, look at this image!
Thank you for your question.
Firstly, we would suggest you to try using another browser. Also, ensure write permissions for your media/import folder and check if your flash player is updated. Alternatively, you can also try to add images with Store Manager, as it does not cause browser issues.
Shiva, I'm seeing exactly the same problem. Did you manage to find a solution?
In my magento 126.96.36.199 i am unable to see the image upload option tab nothing is displaying at image option. What can i do?
Thank you for your question.
Try to check if this issue occurs in other browser, also check for updates of flash player. It might help to solve the issue. You can also try to upload images using Store Manager for Magento, as it loads images on the server and browser does not influence it.
Well... I see the 'Browse images' and 'Upload' but after 'upload' nothing happens... the picture is not being saved neither showed in the product/image tag.
Please, check if the image was uploaded and saved at your FTP. Find /media/catalog/product folder and then there should be created 2 subfolders on the basis of image name. For example, in case in case image name was test.jpg, it will be saved to directory - /media/catalog/product/t/e/
Wow, thank you for the reply. Really appreciate!
Just a few info: /media is 0755 permission and /catalog (and then) 0711.
The image named x32400700250.jpg is saved yes but in /media/tmp/catalog/product/x/3
Can you also please specify your Magento version? Also have you tried to upload image using another browser maybe?
Magento 188.8.131.52, PHP 5.4.45 (it was working on 5.5.38 but we downgraded to see).
Tested from Safari 10.1.1. and Firefox 53.0.2 and Chrome 58.0.3029)
From IE, I get a error message (attached print) when I try to edit product.
Have you installed any security parches or modules recently?
Several modules updated (can't be precise about new or updated) since aug/2016 (the last time we created products) and pictures were working ok.
List of modules (installed or updated after):
Haven't experienced this issue personally, but you can check this forum post where people have faced the similar problem and offering some solutions -
This makes our work difficult: our last product created was last August 2016. That's my reference point.
app/etc/applied.patches.list (patches after)
2017-03-08 12:24:07 UTC | SUPEE-3941 | EE_184.108.40.206 | v1 | d35110621d80be22922611e2b0a502da054a95f0 | Tue Jul 15 11:57:57
2014 +0300 | v220.127.116.11..HEAD
patching file downloader/Maged/Model/Connect.php
Hunk #1 succeeded at 489 (offset 3 lines).
patching file downloader/lib/Mage/Connect/Backup.php
patching file downloader/lib/Mage/Connect/Command.php
patching file downloader/lib/Mage/Connect/Command/Install.php
patching file downloader/lib/Mage/Connect/Packager.php
patching file downloader/lib/Mage/Connect/Rest.php
patching file downloader/lib/Mage/Connect/Singleconfig.php
patching file downloader/lib/Mage/Connect/Validator.php
patching file downloader/lib/Mage/HTTP/Client/Curl.php
patching file downloader/template/settings.phtml
Hunk #1 succeeded at 64 (offset 1 line).
2017-03-08 12:32:57 UTC | SUPEE-1533 | EE_1.13 | v1 | _ | n/a | SUPEE-1533_EE_1.13_v1.patch | REVERTED
patching file app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
patching file app/code/core/Mage/Adminhtml/controllers/DashboardController.php
I do not even have the prompts 'Browse images' or 'Upload' on the Images section?????
Thanks for your comment. Please, specify your Magento version and also indicate after what actions have you noticed that images buttons disappeared?
Thank you for your reply!
Unfortunately I am not sure of either. I, as well as many others are using it for my job and one other person in the office is having the same issue while others are not.
I tried everything as far as clearing cache both in Magento and on all of my computers at work and at home, 'index managed' over and over, even refreshed individually...
Thank you in advance!
Most likely this issue is connected with flash. Update the browser/ or try another browser and install latest flash player.
Yes, I did both ...update my flash and tried in Chrome and Explorer 🙁 with no luck
Anything else I could try?
Try clearing cache (including catalog image cache) and re-index as well.
In the process of doing that now ^^^
As I am waiting whenever I go to Index Management it always 'times-out' on me? Could this be a correlation to the issue?
Cleared cache and Catalog Image Cache and all indexes updated successfully and still no Browse or
Not sure, you need to check with your developer.
I have also found over the web similar issue - http://magento.stackexchange.com/questions/53352/magento-1-9-no-upload-image-buttons.
You can check solutions offered there.
Tried to add some products, images and stuff to my store. Guess what ? Nothing happened. Was about to delete the whole thing, but then found this hints, spend some time playing around and it worked out for me. Great stuff guys.
Had issues with images upload also, but guys from supported, solved that in few minutes. Thanks for this How to's though, much appreciated.