Added cropping with a canvas to the image uploader