how to add image files to objects in javascript code example Example: inject image javascript button.innerHTML = "<img src="image/image.png">"