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:

  1.  
  2. new YAHOO.widget.ImageCropper( “myImageId” );
  3.  

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

Leave a Reply

You must be logged in to post a comment.



Site Navigation