Results 1 to 9 of 9
Thread: jQuery image dimensions
May 8, 2011, 18:58 #1
- Join Date
- Oct 2009
- London, UK
- 1 Post(s)
- 0 Thread(s)
jQuery image dimensions
So I'm working in a project where I need to get the dimensions of an image. If I use .height() of the image I get 0 returned, but if use .height() on its surrounding div I get the image's height returned.
I need the height and width of the actual image, what should I do?
Last edited by paul_wilkins; May 8, 2011 at 21:54. Reason: fix spelling of thread title