Mosh Ontong
How to get the avatar of current user and change the avatar of the current suer
TL;DR
The user-avatar feature in Appwrite uses the Avatar API for initials. If you want to have a custom avatar attached to the user, you can create a new collection for it or use the User preferences feature. To get the avatar of the current user, you can use the avatarsGetInitials method from the Avatar API. To change the avatar of the current user, you can update the avatar in the user's preferences or in the custom avatar collection. Binyamin
Appwrite user-avatar just uses the Avatar API for the initials https://appwrite.io/docs/client/avatars?sdk=web-default#avatarsGetInitials
If you want to have avatar attached to your user it might be best to create some collection for it Or Use the User preferences.
Recommended threads
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...