try this out:
function GetImageSize(imgfile)
{
var vImage = new Image();
vImage.src = imgfile;
alert('Width = ' + vImage.width);
alert('Height = ' + vImage.height);
Quote:
}
<input type=button value="Get Image Size"
onclick="javascript:GetImageSize('image002.jpg');">
Quote:
> Hello
> Is it possible to read the width and height of a image?
> Tanks
> Ferry Lagarde