AW: [PHP-DB] image size
| From: | Claudia Schasiepen | Date: | Sat, 28 Dec 2002 16:16:11 +0000 |
| Subject: | AW: [PHP-DB] image size | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24447@lists.php.net to get a copy of this message | ||
Hi,
here an easy way to do it:
$size = GetImageSize($id);
$width = $size[0];
$height = $size[1];
regards
Claudia
-----Ursprungliche Nachricht-----
Von: John Coder [mailto:jcoder@insightbb.com]
Gesendet: Samstag, 28. Dezember 2002 03:48
An: Petre NICOARA; php-db@lists.php.net
Betreff: RE: [PHP-DB] image size
Hi guys,
Do you know any methods or code for finding out the images width &
height either with php or javascript
I have a little trouble manipulating the big images. Also, I don't keep
the images in the database, are files on a server.
look at
http://www.php.net/manual/en/function.getimagesize.php
John Coder
Thanks,
Petre NICOARA
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php