Re: is there an easy way to get the size of an image?
Posted by J.O. Aho on 01/06/08 22:49
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