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.
If I was you I would use Jcrop with my own uploading script.
I would like to recommend this example.
http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop/
Good luck.
Prasad.
I recommend upload.class.php
. It is the best class for handling images.
You can find it here: http://www.verot.net/php_class_upload.htm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With