On this page: http://api.drupal.org/api/file/modules/user/user-profile.tpl.php/6 in the last sentence of the third paragraph, it says: "$profile['picture'] is available by default showing the account picture."
It should be $profile['user_picture'] or at least that's what worked for me.

CommentFileSizeAuthor
#2 issue-293078.patch1.9 KBlilou

Comments

betz’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Documentation in CVS » documentation
lilou’s picture

Title: correction for user-profile.tpl.php doc » Correction for user-profile.tpl.php documentation
Category: bug » task
Status: Active » Needs review
StatusFileSize
new1.9 KB

You're right, $profile[] :

Array
(
    [user_picture] => 
    [summary] =>   <h3>History</h3> ...
)
Anonymous’s picture

Status: Needs review » Reviewed & tested by the community
dries’s picture

Status: Reviewed & tested by the community » Fixed

I've committed this to CVS HEAD and DRUPAL-6. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.