Saving images to the web server like a boss. Actually, not sure about that boss bit but at least it works.