RE: Find out a pic size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



check this out:

http://www.php.net/manual/en/ref.image.php


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


good luck



_______________________________ 

Mark Snijders, Developer 
Atos Origin 
Groenewoudeseweg 1, Room VN-515 
5621 BA  Eindhoven, The Netherlands 
*   : Mark.Snijders@atosorigin.com 
*    :+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: joakim.andersson@cybercom.se [mailto:joakim.andersson@cybercom.se]
Sent: maandag 11 november 2002 8:56
To: php-db@lists.php.net
Subject: SV:  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.

Regards
Joakim

-- 
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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux