yes, you can know the dimensions of the image, try<form name="form1">
<input type="file" name="file1" onpropertychange="document.all('imgtest').src=this.value;"><input type="text" name="imgsize" readonly>
</form>
<img id="imgtest"
onload="document.form1.imgsize.value=this.width+'x'+this.height;"
onabort="document.form1.imgsize.value='0x0';"
onerror="document.form1.imgsize.value='0x0';">
<input type="file" name="file1" onpropertychange="document.all('imgtest').src=this.value;"><input type="text" name="imgsize" readonly>
</form>
<img id="imgtest"
onload="document.form1.imgsize.value=this.width+'x'+this.height;"
onabort="document.form1.imgsize.value='0x0';"
onerror="document.form1.imgsize.value='0x0';">
上面的这个可以选择*.*啊,谢谢.
<input type=file accept="image/gif">
但好象到目前为止,还没有哪个浏览器支持