add image when page is loaded
cleanup array