Archived from the Transloadit support forum. Originally posted on May 4, 2011; details may be outdated, see our docs for current behavior. Original thread
Hi, I’m using your iPhone SDK to upload images. I followed the example and, after using the UIImageViewController to take a photo, I added the picked file like so:
[transload addPickedFile:info]; // info => the NSDictionary returned by the didFinishPickingMediaWithInfo method.
The problem is that, the result image is always in landscape mode, even if I take the picture in portrait mode.
What am I doing wrong? Is this a known issue? Can it be circumvented?
we do support automatic rotation for miss-rotated photos, so it might be a thing specific to your situation. Can you upload the image (with all metadata on it) in here? Then we can investigate.
Can you attach the image in question to this support ticket? Then I can check its exif data to see if it contains a format that we do not recognize for the auto-rotation.
For the record, I’m replacing the original image returned by the UIImagePickerController with the one processed using the UIImage+Resize class mentioned in the above link; and then I’m sending the latter in the TransloaditRequest.
Jose: Is this something that would be convenient for you if it was done by our SDK? If so, feel free to make the change in a fork of the SDK and I’ll merge it in!