Adding photos setting database/model