title: Changing interfaceOrientation based on image dimensions
body: <p>I'm looking to change the phone's rotation based on the size of an image. is there a way to detect if the image has 480px x 300px dimensions then use landscape rotation and vice versa?</p>
  
  <p>I have many photos some of which are best view landscape and other best viewed in portrait mode.</p>
  
  <p>thanks for any help.</p>