let canvas = document.getElementById('my_canvas');
let context = canvas.getContext('2d');
let imgPath = 'LINKDOIMG.PNG';
let imgObj = new Image();
imgObj.src = imgPath;
let x = 0;
let y = 0;
imgObj.onload = function(){
//Draw the image onto the canvas.
context.drawImage(imgObj, x, y);
}
Powinno zadziałać