add picture to the repository