答案 0 :(得分:2)
list($width, $height) = getimagesize('path');
答案 1 :(得分:2)
This is to find height and width of an image.
list($width, $height, $type, $attr) = getimagesize("image_name.jpg");
echo "Image width " .$width;
echo "<BR>";
echo "Image height " .$height;