I am looking for a keen PHP developer to create a PHP script that can take an image uploaded from a HTML upload field and re-size it for multiple purposes.
The image needs to be re sized for a thumbnail and then a larger image. But, dimensions WILL be different depending on whether the source image is of landscape or portrait orientation. It is also important that the images lose no quality (fuzziness and pixelation) but quality degradation through normal image resizing is fine.
Work will need to begin ASAP and the mentioned script should be able to handle an array of multiple images. I would like the script to write in a variable whether the image is landscape or portrait, so I can do the back end database work. For example, $orientation = "landscape" or $orientation = "portrait".
Thanks in advance.
GOOD ENGLISH WILL BE REQUIRED FROM THE COMMISSIONED DEVELOPER!!
Thank you all for your samples. They are all great.
Here is some more information. Please let me know if this can be done within the script.
1. If a landscape image is uploaded it has be resized to these dimensions:
220 x 165 (thumbnail)
530 x 380 (large image)
2. If a portrait image is uploaded it has to be resized to these dimensions:
220 x 288 (thumbnail)
302 x 396 (large image)
3. Is watermarking easy to do? (not mandatory if it will take ages, this can be added later)