FW: [PHP] get image dimensions
| From: | Reinhart Viane | Date: | Sat, 27 Nov 2004 22:23:46 +0000 |
| Subject: | FW: [PHP] get image dimensions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-202975@lists.php.net to get a copy of this message | ||
-----Original Message-----
From: Reinhart Viane [mailto:rv@domos.be]
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:mailinglists@digitalcollision.com]
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