YUI-based Image Cropper Widget
Julien Lecomte of Yahoo! has written a YUI-based image cropper widget that allows you to easily select which region of an image you’d like to crop. This widget works on all A-grade browsers in both standards mode and quirks mode.
Once you setup the CSS and JavaScript you simply:
JAVASCRIPT:
-
-
new YAHOO.widget.ImageCropper( “myImageId” );
-
Oh, and you probably want to do something with a hook on the backend.
Also, Julien has discussed implementing a scriptable XPCOM Component and an iPhone version of Y! Search.
(Via Ajaxian.)