image manipulation widget for PHP
Any recommendations for how to resize & crop images in a PHP web app? Ideally will integrate into the UI to allow user to upload, preview, then optionally resize and crop.
开发者_StackOverflow社区Thanks, Graham
Here is a jquery cropping plug-in.
http://deepliquid.com/content/Jcrop.html
and here's a php code to crop an image (you'll find code to upload an image there as well)...
it even provides for a rough gui to select the cropped area by clicking on the image.
Here's a PHP + JQuery script that looks promising http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop-v11/
精彩评论