I’m creating a form which should allow a user to upload a photo (along with other form elements such as text boxes) but I’m in need of a PHP script which will allow the photo to be uploaded, and if the image does not conform to specific dimensions to be resized and then cropped (from bottom center of the image).
Can you recommend any scripts available?
A fast search gave me the following results.
I would like to recommend this example.
upload.class.php. It is the best class for handling images.
You can find it here: