ASP点击连接出现图像实际大小

来源:百度知道 编辑:UC知道 时间:2024/05/31 23:35:04
就是点击按钮图片显示为实际的像素!放大缩小按钮我已经有代码!

imgpath="default_22.gif"

set pp=new imgInfo
w = pp.imgW(server.mappath(imgpath))
h = pp.imgH(server.mappath(imgpath))
set pp=nothing

w,h就是图片实际的宽,高,后面你自己应该知道怎么做了吧