If you edit the pic before uploading it will upload correctly. Editing it "saves" the orientation instead of using native, which would be the way you held the phone. Really it is uploading correctly, but other sites like FB have better software that read the orientation EXIF.