add picture to index