added image to index