How can i get the height and width of an image?
As example i have this link here:
how can i get the size of the image with PHP?
How can i get the height and width of an image?
As example i have this link here:
how can i get the size of the image with PHP?
list($width, $height) = getimagesize('path');
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;