Hi all,
As long as a graphics toolkit is installed, is it possible to resize an image that is passed to an upload script prior to actually uploading it? Meaning, is it possible to take the file from the $_FILES array, read the height/width, resize it, and then process the upload? What I'm wanting to do is take an uploaded file, compare it to a predetermined width/height and resize it to said values if the image is not already that size.

TIA!

    Yes, it's possible to do a thing like this:

    $size=getimagesize($_FILES['myInputName']['tmp_name']);

    Bye.

      Write a Reply...