Image Orientation Detection (JS)
Works in modern browsers and IE9+
View the source of this page to see the HTML markup, CSS and JS.
More demos and snippets
Did you find this useful? There are more demos and code snippets this way.