User pictures are not appearing in node displays.
User pictures in posts is enabled in both general and my theme.
My theme is a Zen subtheme. Node.tpl.php has not been modified.
Using Drupal version 6.13 with all modules fully updated and no issues on the status page (except for php_globals, talking to admin on that one)
User pictures are enabled.
The user in question has a user picture. It can be called up in the user:picture field in Views and I already display it for a custom-made teaser.

Following is a chat log from today.

<carl_thuringer> User pictures are not showing up on my nodes. I have the 'user pictures in posts' checkboxes on admin/themes/setting and admin/themes/settings/teched_zen_one checked. Using Zen theme. Didn't create a node.tpl.php and the version in the Zen folder has the <?php $picture ?> line. The user picture can be retrieved on the very same node when I call the user:picture field in Views. Help?
<Kenn_VM_> carl did you enable user pictures in administer -> user settings.
<Kenn_VM_> ah evidentally you did or you wouldn't be uploading tem
<Kenn_VM_> them*
<Kenn_VM_> carl_thuringer what theme is in use? if you switch to a core them do they work as expected?
<carl_thuringer> Kenn_VM_, Picture support is enabled. They don't work in Garland.
<Kenn_VM_> version of drupal in use?
<carl_thuringer> Kenn_VM_, Drupal 6.13, Theme is a subtheme of Zen.
<Kenn_VM_> check global settings in adinister -> themes
<carl_thuringer> Kenn_VM_, admin/themes/settings = user pictures in posts = Checked.
<Kenn_VM_> under garland or global or both?:
<carl_thuringer> Kenn_VM_, Both. I'm on Garland too, at the moment.
<Kenn_VM_> any modules that may be cause? avatar_upload or some such?
<Kenn_VM_> can you replicate this on a fresh install?
<Kenn_VM_> have you cleared your cache?
<carl_thuringer> Kenn_VM_, Cacheing is disabled. Lots of optional modules enabled currently. About a fresh install... probably not. This install has ben upgraded from Drupal 5.12.
<carl_thuringer> Kenn_VM_, I do not have avatar_upload installed.
<Kenn_VM_> caching beinbg disabled does not mean that nothing is being cached. what is disabled is page cache
<Kenn_VM_> please clear cache and test
<Kenn_VM_> to clear the theme registry
<Kenn_VM_> beyond that I am out of ideas
<carl_thuringer> Well, I had zen configured to rebuild page registry on every pageview. But I just now cleared the cache and reloaded the page and still no user picture on the Node view for a standard Blog type.

Comments

carlthuringer’s picture

Bumped because without reinstalling drupal and re-creating everything, I can't think of a way to solve this issue.

guypaddock’s picture

It looks like the user pic is only displayed when "Show post information" is checked-off for the content type. Otherwise, the user pic is not rendered.

It kind of makes sense, since if you don't want the user's name on the post, you probably would not want their picture there either. However, the behavior is counter-intuitive if you just want the "posted by" text gone but want the user pic.