I really like Drupal, but I would love to have my user pictures show when they post content to the main page. I've tried to use the search feature to find a solution, and used different words and phrases but came up with nothing. So any kind of help on this issue would be great! I'd settle for how to call the user images in the code, and what file I need to edit to make the change myself.

Thanks in advance for any help!

Comments

edg’s picture

Go to admin/user/settings and enable picture support. You need to make sure the directory is writable.

KyoshiWarrior’s picture

That's been done for a long time. I can upload an image, and see it in my user profile, BUT it does not show if I make a news addition that shows on the main page. That's my question...

senatortreason’s picture

Try a different theme. In order for the user pic to show up, the theme must include it. For instance, in the Blue Marine theme in node.tpl.php, the following block includes the user pic:

<?php if ($picture) {
      print $picture;
}?>
KyoshiWarrior’s picture

I'm using the garland theme and it's node.tpl.php file has

print $picture

in it already. I pasted the suggested code in with no results, not even an error. I'm also using Drupal 5.x if that makes a difference.

KyoshiWarrior’s picture

No solutions? Anyone?

tree2009’s picture