A JQuery plugin the crop images on the front end combined with a Ruby gem to actually create a new image file on the back end.