Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

dbf2mysql parameter, WWWXXXAPC, wwwxxxAPC, How to unsubscrube from dategen spam, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text

Links

XODOX
Impressum

#1: is there an easy way to get the size of an image?

Posted on 2008-01-06 23:30:05 by nn

is there an easy way to get the size of an image before opening it?

i'd use it to determine the size of the window that would open for
that image.



thanks,
NN

Report this message

#2: Re: is there an easy way to get the size of an image?

Posted on 2008-01-06 23:49:36 by Shion

NN wrote:
> is there an easy way to get the size of an image before opening it?
>
> i'd use it to determine the size of the window that would open for
> that image.

You can use getimagesize()
http://www.php.net/manual/en/function.getimagesize.php

--

//Aho

Report this message

#3: Re: is there an easy way to get the size of an image?

Posted on 2008-01-07 03:57:53 by nn

On Sun, 06 Jan 2008 23:49:36 +0100, "J.O. Aho" <user@example.net>
wrote:

perfect! thank you very much!

NN

>NN wrote:
>> is there an easy way to get the size of an image before opening it?
>>
>> i'd use it to determine the size of the window that would open for
>> that image.
>
>You can use getimagesize()
>http://www.php.net/manual/en/function.getimagesize.php

Report this message