var FitWidth = 205;var FitHeight = 205;function ResizePic(ImgTag){ var image = new Image(); image.src = ImgTag.src; if(image.width>0 && image.height>0){ if(image.width/image.height >= FitWidth/FitHeight){ if(image.width >FitWidth){ ImgTag.width = FitWidth; ImgTag.height = (image.height*FitWidth)/image.width; } else{ ImgTag.width = image.width; ImgTag.height = image.height; } } else{ if(image.height >FitHeight){ ImgTag.height = FitHeight; ImgTag.width = (image.width*FitHeight)/image.height; } else{ ImgTag.width = image.width; ImgTag.height = image.height; } } }}
志贤堂画廊www.zhixiantang.net收藏、交流、鉴赏名家字画
站内搜索: 
您现在的位置:首页>>书法作品

书法作品