HTML5 widget for uploading an image. The scaling and cropping is done client side. Scaled version of the image is uploaded to the server through AJAX call.