I can't figure out how to add using javascript'a a link that should be attached to the picture. I got the picture, I can't figure out how to add tag a to the picture. thank
var img = new Image(); var div = document.getElementById('left_column'); img.onload = function() { div.appendChild(img); }; img.src ='https://cdn.deliverio.cz/sampure_temp/img/PBA.jpg';