Hi all Magento Gigs,
Recently I uploaded one of my projects which I was working on my local computer into a clients Godaddy Hosting Server.
Everything went good with the transfer site got running with minor tweaks in .htaccess files and php.ini file tweaks suggested in the .htaccess file of Magento root directory.
But after this I noticed that None of my product images are displaying as it should both in admin backend and on frontend of website. When i tried visiting the image path e.g.,http://yourdomain.com/magento/media/images/product1.jpg it returned a 404 Not Found Error for all product images although the images are on the correct location and provided correct path.
I surfed many help sites with many of the suggestions and tried everything but that was not working for me and finally after a lot of hectic trials i got the solution for it.
Just Rename your .htaccess file inside the /media directory to .htaccess-old. This will absolutely resolve your image issue.
I hope this will help many of you and you will not have to surf plenty of sites for such an issue.
Thank you! After spending hours trying to find a solution and trying other fixes found on other sites, with no success, yours finally worked!
Glad to know it helped you and many others.. !!
Thanks for the great comments guys..
After hours of fruitless search, I followed your guide & voila! It works!!
Thank you and keep up the good work!
Its not working for me 🙁
really Sir it is properly working. I can’t believe it,incredible.
a small change and What a result.
Thank You sir I was trying a long time.
Thanks a lot sir.
Thanks for the solution, it works for me!
Thanks! Worked for me. This isn’t the first .htaccess error (or other error) I’ve had with GoDaddy. Remind me to warn clients against it for e-commerce sites.
I’ve been trying to find a reason for this for hours and this worked! No one else had any kind of solution. Thanks!!!
THAAAAANK YOU. I needed this for the past 5 hours!
Yeah, i surfed on internet for this problem quite many hours and so thought to post this as i think its a common issue with godaddy and magento…
You are so awesome!!! Thanks man!
Thanks BOOS … Thank you so much
Thank you, its works perfect, but how it may affect the operation of Magenta, because this htaccess needed for something?
No, this htaccess file was for security of images directory but on godaddy it causes side-effects so better remove it and i havent come accross a situation where i would require that file..!! 🙂
Thank you !!! This solved my issue.
It’s proven again, complex problems often have very easy solutions 🙂
Thank you so much!!
It was a nightmare!, I tried everything and nothing worked!!
I have same problem that images not showing in front and backend side though its upload successfully. I have tried to apply your solution and found that there is no .htaccess file inside media folder. in my case its works fine on localhost but not working on server please help.
@Shailesh I guess the .htaccess file is hidden when you view the Media folder.. In some cases in Filezilla or cpanel’s file manager it dosnt show .htaccess file due to its settings. Hope this helps…
i did the same thing but mine is not working not reloading the page please help me
Hi have a similar problem with images not showing on backend or frontend. Tried renaming .htaccess but the problem remains. Any ideas?
I am getting same problem.But mine is little different.I am able to display some images and some doesn’t show up.How can I solve this issue.
wow Thank you very much i just deleted the .htaccess file at /media and problem solved
Thank you so much u saved my times
Thank You So Much! After hours and hours, this was the winner!
hey thanks a lot , it’s really worked for me !
Just want to say thanks. 🙂
Thank you so much for your tutorial. I’ve spent hours looking for a solution and you saved me hours more!!!
Thank you very much.Good item.
OH GOD GENIUS. I WAS about to change ecommerce platform. Thank you for sharing!
Just want to say thanks.
rename all the capital letters to lower case. or the oposite.
Thank you kind sir 🙂
Thank you very much… God bless people like you.
It worked like a magic
This worked! THANKS!
What worries me though is that I didn’t have this issue until a week ago. Did suddenly by magic a .htaccess file appear in my media directory?
Does anyone know, how such files can just appear? Is this caused by my web provider?
Thank you! That did the trick and kept my site alive!!!!
Works superb !! Thanks
YES! so great to see this post. thank you so much!!!
Love, love, loved this post! Saved me a headache!
How in the world did you find that solution? It worked. Thanks.
wow… headache cured. thanks.
thanks bro.. share for ur experience with all..
thank u co much ..:-)
lol It worked. Thanks 🙂
I found the .htaccess file and changed it to .htaccess-old.
Still no images in frontend.
eYYY””” its worked!!! thnk you so much!!
it works like charm in online…
but not in localhost (locally)
finally fixed.. yuppieee
Thanks all of you for your lovely responses.. Im glad my work is helpful to you all.. Cheers..
It worked for me, thanks for the great help
Pingback: DaveCKW | Photography | Videography | Web Design | e-Commerce | Malaysia Blog | Construction » Silly Magento Image Upload Issue » DaveCKW | Photography | Videography | Web Design | e-Commerce | Malaysia Blog | Construction
After wasting 3+ hours and acquiring a massive headache, you were able to solve my problem with a 20 second file rename.
I can’t Thank You enough.
Great man, I saved 3years time.
Thank you so much
@BMan: you are right, Thank yo not enough
No matter if you’re not on godaddy but if you have problems viewing pictures or only png pictures all you have to do if you use filezilla for instance in ftp conncetions is to SWITCH TO AUTO transfer mode (NOT ASCII). reupload an image and test it with a direct link using binary mode.
reupload the picture USING AUTO MODE, sorry..
It is just perfect!! Thanks for the solution.
Thank you so much, i’ve searched everywhere for a solution. finally!!!
thank you,thank you, thank you, thank yo
Thanks brother its solved my problem
i never do this but after HOURS of searching and changing things i came across your solution. it worked and i felt compelled to write in. thank you! hopefully youll find a $20 bill on the ground as good karma.
Million Thanks !! It works absolutely fine with your solution !!!
Thank for the solution, This article is beneficial to me.
hello i have solution of this error
without delete or RENAME we can solve it .
go to media/htaccess files and open this is notepad or dreamviewer and than go to first line .
Options All -Indexes
REPLACE this by
#Options All -Indexes
hurry now refresh the page now you will see all images of media folder
kushagra (magneto developer)
Thank you very much, solved my problem too.
Thank you very much.I really searched alot for this fix and finally your solution work perfectly for “Magento images uploading issue in godaddy hosting”.
Once again thank you very much for your help.
Hey buddy! You save my life! THANK YOU SO MUCH!
Thanks! This worked great. Now I can continue into the confusion of other issues that will soon plague my new website!
I had this problem too! Looked every and tried removal of .htacces in /media folder. Finally i noticed that the cached folders where renamed “A” instead of “a” during upload. Very strange, but true!!!
after changing all files in the product folders to lowercase and flushing cache images were coming back!
After spending countless hours on the internet and asking different people who claim to be programmers I ended up here at your website and found the solution.
MY SALUTE TO YOU SIR!!!
Khurram From Pakistan
Thanks a lot!!!! You save my hrs of time….
In response to my former post of March 6th. You have to go to /media/catalog/product in your magento installation.
There you will find a lot of cached folders where the cached images reside. In my case some of the folders were called ‘A’ instead of ‘a’.
On my old server this wasn’t a problem but on our new server it caused a problem. The images were not shown for the products with a cached image in a folder with a capital letter.
After changing all the folder from e.g. ‘S’ to ‘s’ the images were shown instantly.
Maybe this will help…..
Thank you! It’s so easy…
Thanks! This worked great.
THANK YOU FOR YOUR HELP! SOLVED THE PROBLEM! AFTER SPENDING SOO MANY HOURS! Z
YES! so great to see this post.
thank you so much!!!
Thank You So Much…………….
Thank you man, short, easy and exactly what i needed !!
Genius! It took me two days without any solution but I fixed it in 5 minutes after reading your post. Thanks! 🙂
Thanks a lot……..
It really HELPED us, many thanks for posting this solution.. thank you again
This works like a charm. Thanks for sharing
works on Magento v126.96.36.199, never thought this simple step would make a big change. 🙂 kudos!
Wow.. you just cured my headache for this afternoon. I was wondering what is happening with my images.
I can not upload image in my product ,it;s can not upload that ,HELP ME please
Wow I am speechless this thing can be a really big headache and out of patient thanks for your help it work…
thanks a lotttttttttttttttttttt
Thanks a lot dear.
thankyou so much sir for this post.
i really appreciate your work
YOU ARE AN ABSOLUTE LEDGEND!! fixed
omg. Thank you I was freaking out already after countless hours of looking for a solution.
The problem is specifically the first line:
Options All -Indexes
You can safely comment out that line (add a # at the start) on GoDaddy.
Thanks very much. Problem solved.
Awesome solution sir!!! Hats Off for You 🙂
Waste 3/4 hours to solve the issue. Amazing -old solve this within 5sec.
It saved lot of time. Ty!
It is really great!!!!!
Thanks a lot!!!!!!
its also works for 1.7 version. thanks
pff godaddy.com hosting sucks, your solucion was working fine for 188.8.131.52!
Finally I found this solution, Thanks!
Thank you so much!! finally i see my images again, i lost them after flushing the image storage cache
Great thanks worked for me….
removing .htaccess file allows php script attacks. Its there to protect your media folder from security threats.
You deserve a panda for this
THANK YOU!!! SMH
thanks ,its works for me.
You are unbelievable! Thank you thank you thank you!
Perfection – true genius!
Brilliant 🙂 Been searching for hours and finally came to your blog. Image issue resolved.
Thanks a lot
Worked for me as well.
This resolved my problem: http://www.magentocommerce.com/system-requirements
contact supporte technical from your host.
Thanks, thanks, thanks
Really its great help.. Thanks!!!
Thanks my issue is sloved
Good job my dear thank you ..
After a whole days research for this question, My solutions is change the permissions for folder media to writable, sloved!
Hope this can help you
Spending lots of time you gave me a satisfied solution . Thanks for this help .
Thanks you so much… 😀
i have been search in in two days and no resolve my problem,,,thanks… 😀
mad props to you
thank god im using godaddy but will change
i’ve been searching this info for many days
and thank god i found you 😀
YESSSSSSSSSS IT WORKED!!! If you are having problems make sure you change all of the file permisions in the media folder for all the files and directories to 777. Then change the htaccess file to htacess-old.
You are my HERO!! THANK YOU SO MUCH
thank u so much, after spending 3 days on this finally i got it… Thank u once agian
!!!!!!!!!!!!owwwwww tnks You are unbelievable!…..
Resolved! SUPER ana EASY!!! ))))))))))))))
Thanks, I wasted 3 hours on this finally reached your solution and it worked. What a silly error.
You rock! Thanks Man.
exlent it wrks for me thnk Q so much
Many Thanks for this short post but, solved my problem after searchin 3 h across the web for a solution. Thanks many
Legend you are! 4 hours trying to fix!!!
Hey this is really help full. I wasted 2 days for it. Thanks alot 🙂
Worked for me, love you man! Thank you!!!
Thanks this helped me lot.
very good article i gave you 100/100 marks cheers )
not worked pls help
i am uploading product from admin panel in magento. but after uploading all the things my product does not show up in front end.actually what i did previous is i upload products from csv file and that also not works. i delete .htaccess file from media/import folder.i given 777 permission to media folder but still i dint get perfect solution for my problem, anybody expert who can solve my problem
Hi, This is really best solution, I spend my so much time for this problem then when I got your link then I solved my problem with in few second. That is great !
dude u are a genius. tried this after 3 hours of searching. thank u thank u thank u
Great!!! This is the best solution that worked for me. I was up to weee hours of the morning trying to get this to work. Trying different suggestions from other forum with no resolve. Today, I even uninstalled and re-installed Magento just in case I messed something up. No resolve.
But this simple changed FIXED my problem. NOTE: I do not use Godaddy for my hosting company.
Thank you for this post it really helped me!!!
I love you <3
I was searching for a solution for this problem, it really worked.
Thanks a ton .. 🙂
thank you soooo much for your post ! it’s really help to solve my problem 😀
Thank you very much
DUDE!! This worked!! You rock!! Thanks man!!
This saved me a bunch of time. Thanks for making the effort to help us all!
Thank you so much! for posting this and helping everyone else out!!
Thanks for the solution.It worked for me.
Thank you it is working for me…
Works like charm.
thanks, saved me alot of time:)
Just found out a better solution. Just comment out the first line of .htaccess in /media folder.
Options All -Indexes
#Options All -Indexes
Great….. I am very glad bro…
THANKSSSSSSS it worked
thanks man. i developed a custom import extension and even if the code created the images and attached them to the products they were not displaying in backend or frontend.
your solution saved the day.
Yes it worked for me too. But I’m wondering if we renamed the .htaccess file won’t there be any security issue in this particular folder ?
God bless you!
O my God!!! It’s work for me. Many thanks ! Best regards, Arthur.
i have pic. problem 🙁 image direct 500 internal server problem please help me
I have to download images from server Image files download code is written in php and it’s the files from the other server but when i give may magento store image path it’s show file not found.
Absolute Genius Solution 🙂
Thank you so much!!!!I love you SO MUCH! FINALLY IT WORKS!!!!!!!!!!
You are a GENIUS!!!!!!!
Thank you so much.
your response was the shortest one i found and the more reliable.
Thank you 🙂
Finally, after hours and hours of hair pulling! Thanks
After hours of hair pulling I found this page. Awesome. At least I have half my hair left!
Hi Everyone ,
I have a big problem i have uploaded the image it is showing in front end but when go to again admin to edit product detail and see image section the image not appearing there and after save image also not showing in front end it’s mean that the images automatically deleted when i update the product. Please help ASAP.
its worked for my thank you so much
it’s worked for me thank you so much
Boss… It worked. Hats off!!!
Thanks a lot man….still product images are not being displayed…will do I’ll more troubleshooting
AWESOME! Thanks for help.
TO ALL THOSE STILL STRUGGLING…
please remember to:
1) set proper file permissions on media, var, and app/etc directories…
2) rename the folder /media/catalog/product/cache to _cache
3) go to system>>cache_management and refresh all
4) go to system>>index_management and reindex all
Then it should all work (granted the .htaccess file is renamed).
Thanks for your answer for me worked very good
second time this saves me! thank you!
I renamed the desired file. Pictures are visible, but no there is no upload and browse option for pictures to be uploaded.. Pls help.
Thank you very much. Great to share with us.. Thanks once again…
Thanks i was 1 day looking for the issue I re installed it again, and here
is a sample solution.
Great job, thank’s a lot man!
Thank you for the advice, I have another problem I am not being able to view multiple image at front end, when i click on the image the next page is blank please suggest
Thanks a lot… Buddy
thousand thanks! After days of search for the problem you made my day!
It seems to depend on the provder. I never had this stupid error before.
Just adding more information to help: if your SELINUX is enabled, you need additional setup. Here you can find some information http://www.magentocommerce.com/knowledge-base/entry/ce18-and-ee113-installing#install-prereq-selinux Best of Luck!
This worked perfectly for my installation (Magento 184.108.40.206) THANKS!
Thanks same problem! I deleted the htaccess
and the cache folder in media/catalog/product
Great, Awesome, you the man
Working fine after renamed .htaccess
Thanks a million times, you just saved a lot of money
Thanks..Its awesome..I was able to resolve.
It would be great if someone can share reason too.
I dont always comment, but THIS post worth a beer!, thank you man, it works like a charm!
Its really help me. Thanks a lot.
Worked for me perfectly.
Thank you verymuch
Pingback: Issues and resolution in Installtion of Magento | Reference Designer
How can i transfer magento from localserver to live?
And is there any changes in .htaccess file after transfering the files to live?
Finally I found it.
Hi, ive found that your method solve most everyone here. but not mine. but i really need your help. i cant display any image neither in frontend nor backend. event banners also cant be display
Sorry! suddenly i try again and it worked! thanks dude! youve made my day!
Man, I jumped so high! Thanks a zillion! Don’t actually know what kind of server it’s hosted on, nevertheless it’s solved!
Thank you sir its work properly Thanks a lot.
it’s really amazing solution….. great. Thanku very much
thanks,for the help.
You are great !!!
Thanks a lot. I spent 2 weeks digging for this issue. You saved me.
Thanks a lot. .:)
Thank you, spend already 2 hours on it and then found your solution, still working in 2015!
WORKS! YOU ARE THE BEST MAN!
Thanks for sharing the solution viraljetani.
I can see my image from the browser but when I upload the CSV file to import my products Magento doesn’t seem to be pulling the image for a specific product. All other product information is uploaded by not the image.
I have the image uploaded to my server. for the image i am using this path: /filename.jpg.
You are the best man. Thank you. Thank you so much. I spent hours on the internet but did not get a solution. Could not have figured it out without your help.
Thank you again!!!
Hey Jack.. I am glad it worked for you.. thanks for the appreciation.. connect me on twitter @viraljetani
thank you man, it works like a charm! After 2 days of search
Hey Jean.. I am glad it worked for you..!!
work work for me so glad
Thank you Viral.. worked like a charm… Much Appreciated.
Thanks Viral for sharing this information. It helped out a lot for me. Best regards from The Netherlands
Hey Alex.. Thanks for reaching out.. I am glad it worked for you..!! connect with me on twitter @viraljetani
Thanks! Working great! I thought the problem is on our server. Very Thanks!
welcome.. I am glad..!!
Thanks… Its work for me also.
Glad it worked.. Thanks for the comment..!!
sry sir its not working for me i am having my media folder inside pub(pub/media).so plz help me…
I wish i found this one sooner then i don’t waste my time. Thank you so much
Thank you Very much