We need a file upload script to allow registered user to upload up to 6 images to our listings site. It would be great if a maximum file size could be set and even better if the script could automatically resize images to adhere to the maximum file size. We need the files to be uploaded to our server and for the file to be renamed with a unique reference number.