Re: Resize Images 'On The Fly'
| From: | Andy Woolley | Date: | Thu, 24 May 2001 11:06:19 +0000 |
| Subject: | Re: Resize Images 'On The Fly' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54197@lists.php.net to get a copy of this message | ||
Jamie,
$imagesize = GetImageSize("yourfile.gif");
Will return an array of image properties that you can use.
Andy.
----- Original Message -----
From: "Jamie Thompson" <jamie@tempoweb.com>
To: <php-general@lists.php.net>
Sent: Thursday, May 24, 2001 11:46 AM
Subject: [PHP] Resize Images 'On The Fly'
> Is there any way you can resize images 'on the fly' with php?
>
> I have images in a directory and i want to pull one out at random and
> display it at 50% of it's original size. I was thinking i could read the
> file into a variable and then use one of php's image functions on it but I
> can't find any documentation for this? is it possible?
>
> Thanks,
>
> Jamie :-)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>