Image Upload Failure on Magento Product Page
Add to Favourites
|
We’ve have been informed of a problem in the Magento back-end, whereby users’ are having problems trying to upload images to a product. Unlike another error where the user cannot see the browse box after clicking “Browse” – this time, users are able to browse for the image and upload it – however the image just simply add itself to the image list.
Similarly, you may also find that if anything is clicked (aside from the left colun links), you may be booted out to the admin login screen. Once you re-log in you’ll find that image is nowhere to be seen – despite the fact that five seconds ago it says it was “uploaded”!
Firstly, make sure your media directory is Chmod’ed in FTP to 777, and similarly that all files in your Magento installation have the correct “owner” for the hosting account – ie: not “root”.
Secondly, the error could well be your PHP installation. You may simply need to create a php.ini file in your Magento folder which reads as follows:
1 2 3 4 | magic_quotes_gpc = off short_open_tag = on extension=pdo.so extension=pdo_mysql.so |
If you do this and also ensure Safe Mode is enabled, you should successfully be able to upload images again!
about the author
This article was written by Sam Davis on January 14, 2009.
Computing over a glass of Grenache Shiraz... again! Sam is the Editor of Blasted Thing. Contact Us |
related articles
comments
11 Responses to “Image Upload Failure on Magento Product Page”
Leave a Reply
![]() Export List of Magento Orders in CSV Format |





























I could kiss you. I’ve been struggling with this forever, and the php.ini file fixed it. Thanks!
hello sir
I m using php version 5.2 and i have also upload the php.ini file to change the magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so
but still now i m not able to upload the products image in magento if u have an solution to short out please send me mail as soon possible
thanks
with regards
anil solanki
Working Great, Thanks so much. is that should i change the attribute to 755 again ?
It Works, great man…. it was eating and your solution really worked… thanks…
Hey guys!
I couldn’t get it to work.
I have tried everything from all the foruns: chmod 777, php.ini, uninstall flash player 10 and install 9, use IE 6 and 7, chrome, firefox, tried in xp and vista.
I have done it all. The php error while trying to upload a product image still shows up.
PLEASE!
If anyone has a way to make it work, please tell me!
I have this very important client and cant show the image products. I have spent mora than 30 hours reading foruns and testing stuff.
My e-mail is raphael@vexelweb.com.br
Thank you guys!!
I am having this exact same problem, but the PHP settings and permissions all seem to be correct.
Any suggestions would be most appreciated.
Dont work… i have try everything you say and its not working please update your post
Same problem for us and I cannot find anyone to help……great! If anyone can help I’d appreciate it.
Additional to not being able to upload additional images to products the magento system won’t delete existing images. Any ideas?
wowwwwwwwwwww Thanks!!!!!!!!!!!! u r a pro!!!
That’s all very well, It works! BUT were can we find these uploaded images in the back-end AND how to delete these files whenever they’re uploaded and used… I can’t find nor delete them… I can see the link to the file bud not where it been uploaded to (FTP file). when I have like 20 file uploaded, eachc about 20Mb, than I’ve got problems… (quota) …
We are a small printing company
How to fix?