search the archive - i posted a gd1 solution about 2 or 3 weeks ago...
dave
-Original Message-
From: Fifield, Mike [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 7:54 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Image Resizing ... lets try this again.
I sent this email
If you can use exec you may use convert, or also imlib module provides
very good results.
Fifield, Mike wrote:
>I sent this email out earlier this morning and got no response. It was quite
>early so I thought I would send it again now that more people are hopefully
>at work :-)
>
>
>
>
>
>I h
What I found works very well for this is the function:
getimagesize();
$image_file = "something.jpg";
$size = getimagesize($image_file);
//$size[0] = height and $size[1] = width (double check on php.net)
//Then just divide them...
$width = $size[1]/2;
$height=$size[0]/2;
This way it will keep
I sent this email out earlier this morning and got no response. It was quite
early so I thought I would send it again now that more people are hopefully
at work :-)
I have been trying to figure out the best way to resize photo quality images
to thumbnail size and have them come out looking
4 matches
Mail list logo