Mega Code Archive
Categories
/
Php
/
Code Snippets
Display the dimensions of an image using the GD library
"; //display width in pixels echo "width = $img[0]
"; //display height in pixels echo "height = $img[1]
"; } else { //cant find image message echo"image does not exist"; } ?>