Added support to upload images to the canvas