title: Can I do image orientation detection with html or css?
body: <p>If I have an image on html page, can I use html or css do the following?</p>
  
  <p>When width of the image is greater than height, set height to a fixed value and auto stretch width; when height is greater than width, set width and auto stretch height?</p>
  
  <p>Thanks a lot!</p>