//获得某一图片有大小及尺寸
<img src=http://expert.csdn.net/images/csdn.gif border=0
onload="alert('filesize : '+ this.fileSize +' Byte\r\nwidth : '+ this.clientWidth + '\r\nheight : '+ this.clientHeight)">//自动缩小, 用 clientWidth 而不是用 width
<img src=http://expert.csdn.net/images/csdn.gif border=0
onload="if(this.clientWidth > 100)this.width=100">
<img src=http://expert.csdn.net/images/csdn.gif border=0
onload="alert('filesize : '+ this.fileSize +' Byte\r\nwidth : '+ this.clientWidth + '\r\nheight : '+ this.clientHeight)">//自动缩小, 用 clientWidth 而不是用 width
<img src=http://expert.csdn.net/images/csdn.gif border=0
onload="if(this.clientWidth > 100)this.width=100">
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货