
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.
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
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
- Error sending push message from dashboar...
I am trying to implement appwrite fully into my app and am switching over from firebase. I registered FCM as a Provider and tried to send a push message via the...
- My organization deleted, how??
Getting error mesasges and I can't find my organization.
