Getting Image size ?

Hi, is there a way to get the image size either in the template or in the template-functions.php. I'm trying to do that: <div style="background: url(myimage.jpg); windt: imagewidth; height: imageheight;">. I did modify the template-functions.php to output he div with the image but I can't find a reference to the images dimension.
Sign In or Register to comment.