title: How can show image in proper orientation, Landscape or portrait
body: <p>I am having a file input control on the page to select an image.
  When user selects an image, I am showing image on the page. </p>
  
  <p>But my problem is, when user selects a vertical or portrait image it is displayed in landscape mode.</p>
  
  <p>So, how can I detect image orientation &amp; apply proper css to show in Landscape or Portrait view.</p>