adds photo to library