check this out:

you need de GD limbrary.... you can check with phpinfo() if you already got

good luck


Mark Snijders, Developer 
Atos Origin 
Groenewoudeseweg 1, Room VN-515 
5621 BA  Eindhoven, The Netherlands 
*    :+31 (0)40 - 2785992 (tel) 
* : +31 (0)40 - 2788729 (fax) 

The information in this mail is intended only for use of the individual or
entity to which it is addressed and may contain information that is
privileged, confidential and exempt from disclosure under applicable law.
Access to this mail by anyone else than the addressee is unauthorized. If
you are not the intended recipient, any disclosure, copying, distribution or
any action taken omitted to be taken in reliance of it, is prohibited and
may be unlawful.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:joakim.andersson@;]
Sent: maandag 11 november 2002 8:56
Subject: SV: [PHP-DB] Find out a pic size?

> Hi, 
> I'm working with a lot of picture in a website and the size is not
> always the same.
> I need some help on how to find out the size (width and height) of a
> picture. Is there any way to do this (especially with PHP)? 
> I need it so I can calculate the width and height to be 
> specified on the
> HTML <img> tag.
> Thanks,
> Hansen
> IndoInformatika

Did you try the manual at all?
GetImageSize() is what you're looking for.


PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to