Re: finding image size
| From: | Matt McClanahan | Date: | Fri, 25 Aug 2000 22:51:47 +0000 |
| Subject: | Re: finding image size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13751@lists.php.net to get a copy of this message | ||
On Fri, 25 Aug 2000, Chuck Barnett wrote:
> Is there a way to find out the height and width of a jpg image ?
>
> I want to open a new window when a user clicks on a thumbnail to enlarge it.
> That's fine, but the images are of different sizes and I want to make a nice
> presentation :)
That would be the getImageSize() function.
http://zend.php.net/manual/function.getimagesize.php
Matt