Tell us what you are trying to do?
I need to add ability to add custom image as avatar. I have created User custom Image field "usr-avatar" and use it as user image.
Is there any documentation that you are following?
I tried this topic : https://toolset.com/forums/topic/replace-wp-profile-image-with-user-field-image/
I just replace "wpcf-user-profile-avatar" in original code with slug of my custom field which is "usr-avatar"
But avatar is emty.
I use Code snippets plugin to add this hook.
What is the link to your site?
hidden link
This is blog article where on bottom page are comments where should avatar appears.
Attached are screenshots from comments, cred form with custom avatar and custom field definition.
Thanks

Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Martin,
Thank you for getting in touch.
Given that this is achieved using custom code then my support ability on this will be quite limited.
I can take a more detailed look if you provide me with admin access to the site as well as where you've added the code and an example link for me to look at.
I've enabled the private fields for your next response.
Thanks,
Shane

Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Martin,
I was having some difficulties with the code, however I got it to work.
Turns out the only issue was that the custom field name that you were using was incorrect. You had "usr-avatar" when it should've been "wpcf-usr_avatar"
Please let me know if this helps.
Thanks,
Shane
My issue is resolved now. Thank you!