SV: Find out a pic size?

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

 



> 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


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

  Powered by Linux