AFAIK, contact photos, DOB, Email, and other such details (apart from phone no, and contact name) are only supported when storing in Phone Memory, or in case of MI, in Mi Account. Check if storing in Mi Account works. I doubt that Gmail / Google Accounts support contact photos