The upside down photo almost looks like the iPhone orientation bug. I remember hearing about it on a podcast last week. It has something to do with the meta data on the photograph is either not written correctly or ignored by either iOS or the OS it is being uploaded too, I can't remember,
Phil