I can’t add photos to my contacts?

I can’t add photos to my contacts?

I have mail lite and I use IMAP through iOS. If I try to add a photo to any of my contacts, the phot is there for a few minutes, then disappears. What’s the protocol for adding photos to contacts?