<?php
// 获取图片宽度高度
list($PicWidth, $PicHeight) = getimagesize(dirname(__DIR__).'/'.$PicUrl);
echo "宽度为:" . $PicWidth;
echo "高度为:" . $PicHeight;
?>
<?php
// 获取图片宽度高度
list($PicWidth, $PicHeight) = getimagesize(dirname(__DIR__).'/'.$PicUrl);
echo "宽度为:" . $PicWidth;
echo "高度为:" . $PicHeight;
?>