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:[EMAIL PROTECTED]]
Gesendet: Samstag, 28. Dezember 2002 03:48
An: Petre NICOARA; [EMAIL PROTECTED]
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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to