In Drupal 5.* I used to print the image and name for a particular term ID using this

print $node->content['taxonomy_image']['#value'];

Now I only get image which is more correct I guess. Can't find anywhere to tell me how to get just that one vocab image and name to print? Possibly more a forum Q?

CommentFileSizeAuthor
#1 taxonomy_image_node_display.module.patch921 bytesnancydru

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Needs review
StatusFileSize
new921 bytes

Try the attached patch. At the moment, I can't recall if there was a reason for this to be different.

parrottvision’s picture

Thanks Nancy - that worked a treat. Couldn't get the patch to apply so I manually patched it and it is super. Thanks for your help and prompt reply!

nancydru’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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

nancydru’s picture

Assigned: nancydru » Unassigned