While register, save the photo and use it in chat