WIP - zOMG.. it works for iPhone images!
WIP -- refactoring previous commit. Removed old formpost code.