receiving photo method