You are here

function fbconnect_render_avatar in Facebook Connect 5

Render a facebook user picture

Parameters

string $size : Size of the pic. one of ('thumb', 'medium', 'large')

1 call to fbconnect_render_avatar()
fbconnect_profile_import_page in modules/fbconnect_profile/fbconnect_profile.module
This function build the user import page.

File

./fbconnect.module, line 914
This module allows site visitors to connect and register with facebook account

Code

function fbconnect_render_avatar($fbuid, $size = 'medium') {
  return '<fb:profile-pic facebook-logo="true" size="' . $size . '" uid="' . $fbuid . '"></fb:profile-pic>';
}