This is an issue with photos on the iphone itself.
I have run into this many time when emailing a photo from my iPhone then trying to open it on my desktop computer in Photo Shop or another image editor. this is a problem with the way the iphone stores the orientation info in the image itself, not something that can be corrected in Image Resizer.