css put div on image tag code example
Example: change the style of img inside a div tag
document.getElementById("test")
.getElementsByTagName("img")[0].style.display="block";
document.getElementById("test")
.getElementsByTagName("img")[0].style.display="block";