Some nice Javascript (short too!). Related post.
This would make a nice widget for anyplace you can upload images, where you'd like to be able to crop them at the same time as you add metadata.