outaTiME

at devel days

YUI-based Image Cropper Widget

leave a comment »

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.

(Via Ajaxian.)

Written by outaTiME

July 30, 2007 at 10:48 am

Leave a Reply