Jamie,

$imagesize = GetImageSize("yourfile.gif");

Will return an array of image properties that you can use.

Andy.
----- Original Message -----
From: "Jamie Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to