adds image to index page