photo album id save database