js获取图片实际的宽度
<img src="http://www.hao123.com/images/guangg/2009year.jpg" width="200" id="imgs"/>
<script>
document.write("宽:"+imgs.width+" 高:"+imgs.height)
</script><br>
<img src="http://www.hao123.com/images/guangg/2009year.jpg" id="image"/>
<script>
document.write("宽:"+image.width+" 高:"+image.height)
</script>