Php > Code Snippets
Display the dimensions of an image using the GD library
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"; } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage