Reference Guide

facebook FBML Reference Guide Page 10 of 159
Fb:profile-pic
Description
Turns into an img tag for the specified user's or Facebook Page's profile picture. The tag itself is treated like a
standard img tag, so attributes valid for img are valid with fb:profile-pic as well.
Attributes
Required Name Type Description
required uid
int
The user ID of the profile or Facebook Page for the picture you want to display.
optional size
string
The size of the image to display. (Default value is thumb). Other valid values are
thumb (t) (50px wide), small (s) (100px wide), normal (n) (200px wide), and square
(q) (50px by 50px).
linked
bool
Make the image a link to the user's profile. (default value is true)
Examples
<fb:profile-pic uid="12345" linked="true" />
<fb:profile-pic uid="12345" size="square" linked="true" />
See Also
You can see a real world example of this tag in all three demo applications (Footprints, Restaurants and Who's
Showing Up). Go to Demos for more details and to download and install the demo apps.
www.yapish.com