function createImg(){
var div = document.getElementById("addimage");
div.innerHTML = '';
var image = document.createElement("img");
image.setAttribute('src','img/photo.jpg')
image.className = "images";
div.appendChild(image);
}