• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BB code for Avatar image ?

erich37

Well-known member
#1
one of my users has entered a BB-Code at his Profile-page into the "About You" box.

Code:
[IMG]http://www.domain.com/username[/IMG]

But unfortunately the Avatar is not showing up.

What is the correct path of BB-Code in order to display the User-Avatar ?



Many thanks!
 

Chris D

XenForo developer
Staff member
#2
Code:
[img]http://xenforo.com/community/data/avatars/m/0/764.jpg[/img]
Produces:



Where 764 is the user ID
And m is the size.

For large:

Code:
[img]http://xenforo.com/community/data/avatars/l/0/764.jpg[/img]
 

Chris D

XenForo developer
Staff member
#3
You could also create some custom BB Code.

[AVATAR=size]USERID[/AVATAR]

But for that you would need a custom add on or the BB Code Creator add on.
 

erich37

Well-known member
#4
so how to explain this "Avatar path" to my users ?

Users expect to get their Profile-Page and/or Avatar-image at a path which is much easier for them to understand........