add image and title to index file