I am having the exact same problem as stated here:
"products image upload error after upload 100%"
I am trying to upload images to an already existing Magento website, my images go 100% and then I get an error in red asking to remove the images. I have followed most of the tutorial I could find online, all my media/
and var/
folder have 777 permission, I have php5-gd installed on my server, the baseurl and secureurl is set properly.
Last time I have had this problem I had a hired a freelancer to resolve it, he told me, varnish setting had issues but didn't give me details.
Any help appreciated.