Skip to content
Back

account.get imageUrl

  • 0
  • Auth
  • Cloud
SahilG
20 Oct, 2025, 16:17

We dont get imageUrl of users when do account.get(), i need to manually fetch,and set it. but this should be default behaviour.

TL;DR
Developers are discussing the issue of not being able to retrieve user avatar image URL using account.get() method in the application. The problem seems to be that the user avatar is not stored in the session and therefore not returned in the account.get() method. One possible solution suggested is to manually fetch and set the image URL instead.
James
20 Oct, 2025, 16:19

account.getSession

Axistro
20 Oct, 2025, 16:19

The user avatar is not from appwrite session So its not returned in the account.get()method

SahilG
20 Oct, 2025, 16:28

i dont receive it

James
20 Oct, 2025, 16:33

Sorry, if you store it in updatePrefs it should be in account.getPrefs();

Axistro
20 Oct, 2025, 16:43

Reason because its not stored because the account image can be changed by user effecting the imageUrl too. Storing it is not a valid thing.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more