I thought you'd be able to get a users avatar by grabbing their userinfo like so.
Code:
fetch_userinfo($userid);
However after doing a var_dump of what that returns their avatar isn't to be found. All that was in there was
avatarid: 0
avatarrevision: 0
showavatars: 1
adminavatar: 0
--------------- Added [DATE]1333436416[/DATE] at [TIME]1333436416[/TIME] ---------------
I found you can get it by linking to image.php like so...
image.php?u=userid