By Mario on Thursday, 13 February 2014
Replies 3
Likes 0
Views 1K
Votes 0
Hello.

I would like to ask you if there is any way to get user's avatar (profile pic) without having to query the database.

For example, is there a specific way that picture's name is generated so i can get it just knowing the user id?
Hi,

You can use this:


Foundry::user( $userid )->getAvatar();
·
Thursday, 13 February 2014 17:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for you answer
·
Tuesday, 18 February 2014 09:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You're welcome.
·
Tuesday, 18 February 2014 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post