blueimp/jQuery-File-Upload — pull request #906 by gorillamania (2011-12-29 12:07:03+00:00)
Title: patch for the image to be automatically rotated based on image metadata

First of all - awesome work. One of the best written libraries I've ever seen. Thank you.

If the image is 90, 180, or 270 degrees left, this data is stored with most JPGs as meta data. This is how operating systems and other image viewers can properly flip the image for you when viewing it.

This patch reads this metadata and orients the image properly. Includes a new image called orient_image, set to true by default (perhaps it should be off by default?)