HTML5 Drag and Drop Avatar Changer with Resizing and Cropping | CSS-Tricks
Let's create a page where a user can update their avatar with as little friction as possible: they just drop an image anywhere on the page and it's done.