save and upload image to canvas