loaded an image onto the canvas2d context