adding type of photo