I have an iPhone app that uploads photos to my server. One of the main problems that I have is rotating.
For some reason, if I upload a picture from my iPhone, some pictures will automatically rotate. Rotating are those that are in portrait mode. I don't have code in my script that rotates images.
How does the server accurately process tall images? Should I change my php file to check its rotation after it is automatically rotated? Should I encode something in my iPhone app that will verify this?
Any help is appreciated!
PS: If you need a code, feel free to ask!
source share