It means that I have a selector of pictures from the user's computer.
JavaScript has access to it, but the problem is that I can’t get the url of the selected picture with it to insert this link to the picture as the page background.
document.getElementById("file").onchange = function(){ var files = document.getElementById("file").files; console.log(files[0].name); }; <input id="file" type="file"> I suspect that this can not be done, they say, for the sake of security, but how then can it be assigned in html, without knowing the link to it ???