I have an upload form which works fine for uploading an image. I was not able to see the image in correct rotation. Here is the example in which I wrote a css to show you the correct rotation:

```
 <style>
    .as {
       transform: rotate(90deg);
      -ms-transform: rotate(90deg); /* IE 9 */
      -moz-transform: rotate(90deg); /* Firefox */
      -webkit-transform: rotate(90deg); /* Safari and Chrome */
      -o-transform: rotate(90deg); /* Opera */
    }
  </style>

<!-- orignal image -->
<img src="http://www.thediscerningbrute.com/wp-content/uploads/2010/06/Men__3_flat.jpg">

    <!-- orignal image -->
    <!-- i am getting image like this -->    
<img src="http://www.thediscerningbrute.com/wp-content/uploads/2010/06/Men__3_flat.jpg" class="as">
    <!-- i am getting image like this -->    

```