changed gallery to photo