-----Original Message----- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: zaterdag 27 november 2004 23:24 To: 'Dustin Krysak' Subject: RE: [PHP] get image dimensions
$dimensions=getimagesize($image_url); $dimensions[0]=width $dimensions[1]=height Hope this helps -----Original Message----- From: Dustin Krysak [mailto:[EMAIL PROTECTED] Sent: zaterdag 27 november 2004 23:17 To: PHP Subject: [PHP] get image dimensions Hi there - I was wondering if there was a way to get PHP to get the dimensions of an image? I want to be able to have PHP dynamically write the image size (of the IMG tag) so that my pages validate when displaying a dynamic image. Thanks in advance! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php