<?
function imgageshow($link,$alt="",$imgcort="")
{
$size = GetImageSize ("$link");
$width = $size[0];
$height = $size[1];
if($imgcort!="")
{
if($width>$imgcort)
{
$temp=$imgcort/$width;
$width=$imgcort;
$height=$height*$temp;
}else{
$width=$width;
$height=$height;
}
}else{
$width=$width;
$height=$height;
}
//echo "<img src="$link" width="$width" height="$height" alt="$alt">";
echo "<a href="$link" target=_blank><img src="$link" width="$width" height="$height" alt="$alt" border=0></a>";
}
?>
| 共分1页 [1] |
关于网站 | 客服中心 | 服务条款 | 友情链接 | 广告联系 | 本站历程 | 网站导航
吉ICP备05000107号