Its complicated
You should be able to do it by creating an instance of the user_picture class and calling get_url(). (Look at that class in lib/outputcomponents.php).
(Edit: I see you've asked in another thread).
General developer forum
add new post
This discussion has been locked so you can no longer reply to it.