Return a specified photo from database