<fb:profile-pic uid="..."/>
size=[thumb|small|normal|square|t|s|n|q]
default: thumb
The size of the profile picture to render.
Options are: thumb
(t)
(50 pixels wide); small
(s)
(100 pixels wide);
normal
(n)
(200 pixels
wide); or square
(q)
(50×50
pixels). The shortcut versions can also be used.
linked=[true|false] default:
true
Produces a link for the profile picture back to the user’s profile.
The following is example FBML code for a square profile picture
using <fb:profile-pic/>
. Note that any of the
possible sizes can be replaced with square
. This
profile picture will also link back to the user’s profile:
<fb:profile-pic uid="4" size="square"/>
The underlying HTML for the profile picture looks like this (Figure 3-16 shows the result):
<a href="http://www.facebook.com/s.php?k=100000080&id=4" onclick="(new Image()).src = '/ajax/ct.php?app_id=4556145827&action_ type=3&post_form_id=47574ff04e8cb37298e9ddcc2e84e84c&position=2&' + Math.random();return true;"> <img uid="4" size="square" src="http://profile.ak.facebook.com/profile5/ 1240/77/q4_65.jpg" alt="Mark Zuckerberg" title="Mark Zuckerberg" /> </a>
18.218.187.108