title: How to get Image height within the div in javascript or jquery?
body: <p>In my page I have a <code>div</code> where <code>width</code> is <strong>fixed</strong> and <code>height</code> is <strong>not fixed</strong>. When I upload <code>500 X 300</code> image it will sit correctly within div, i.e here <strong>width>height</strong>. If I upload image with <code>10000 X 3000</code>,image height will become less than the 500 X 300 image, even if the second image height is more.</p>
  
  <p>I am trying to do re-position with fixed <code>div</code> height. If the image height within the <code>div</code> after putting into the <code>div</code> is less then the re-position div height, I will not do re-position, otherwise my image quality will loose.</p>
  
  <p>So how can I get the image height within the <code>div</code> using JavaScript or jQuery?</p>