[PHP] scaling images

2007-09-20 Thread Hulf
I have images of varying sizes. I want them to be scaled prior to upload to a set size of 300 x 200 px $imageinfo = getimagesize($_FILES['userfile']['tmp_name']); $ix=$imageinfo[0]; $iy=$imageinfo[1]; //upload the images script I -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] scaling images

2007-09-20 Thread Daniel Brown
That's nice. On 9/20/07, Hulf [EMAIL PROTECTED] wrote: I have images of varying sizes. I want them to be scaled prior to upload to a set size of 300 x 200 px $imageinfo = getimagesize($_FILES['userfile']['tmp_name']); $ix=$imageinfo[0]; $iy=$imageinfo[1]; //upload the images

Re: [PHP] scaling images

2007-09-20 Thread Jim Lucas
Hulf wrote: I have images of varying sizes. I want them to be scaled prior to upload to a set size of 300 x 200 px $imageinfo = getimagesize($_FILES['userfile']['tmp_name']); $ix=$imageinfo[0]; $iy=$imageinfo[1]; //upload the images script I So, let me get this straight, you want to