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 the 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.