LJ::get_userpic_info

LJ::get_userpic_info — Given a user, gets their userpic information.

Use

LJ::get_userpic_info(uuid, opts);

Arguments

  • uuid. userid, or user object.

  • opts. Optional; hash of options, 'load_comments'.

Info

memory format: [ version number of format, userid, "packed string", which expands to an array of {width=>..., ...} "packed string", which expands to { 'kw1' => id, 'kw2' => id, ...} ]

Source:

cgi-bin/ljuserpics.pl

Returns:

hash of userpicture information; for efficiency, we store the userpic structures in memcache in a packed format.