your contacts have to be stored on your phone ... click on the contact you want to upload a photo on ... click on 'i' ( information) click on edit ... and then you should be able to click on the big circle at the top of it and assign the photo to your contact
p.s I have a Samsung galaxy A70 so I don't know if it'll be the same on your model
I hope it helps
have a great day