更新时间:2022-11-15 12:00:12
你可以通过它的样式检查它属性或 offsetHeight 和 offsetWidth 。
亲切的问候。
dmjpro。
u can check it by it''s style property or by offsetHeight and offsetWidth.
kind regards.
dmjpro.
使用height和width属性。请参阅链接。
如果卡住,请发布一些代码。
Using the height and width properties. See link.
If you get stuck, post some code.
我需要找到上传图像的高度和宽度。
例如:如果上传的图像文件是C:\Documents and Settings \My Documents\My Pictures\globe_img.gif,然后我需要通过分配到本地图像变量来找到图像globe_img.gif的图像高度和宽度。
任何想法。
I need to find height and width for uploaded images.
Ex: if uploaded image file is C:\Documents and Settings\My Documents\My Pictures\globe_img.gif, then i need to find the image height and width for the image globe_img.gif by assigning to local image variables.
Any idea.