YUI-based Image Cropper Widget
Written by on July 30th, 2007 in Ajax News.
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.
Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/138777049/yui-based-image-cropper-widget