get the size of each image

get the size of each image

 i have code like this
  1. <div id='image'>
  2. <img id='x' src='1.jpg'/>
  3. <span class='u'></span>
  4. </div>
  5. <div id='image'>
  6. <img id='x' src='5.jpg'/>
  7. <span class='u'></span>
  8. </div>

Then, how to get the size of each image with ID "x" and applying text size image in <span class='u'></span>
.....??? thanks before