Show taxonomy_image only from X vocaboulary
johnmullin2003 - July 23, 2009 - 17:05
| Project: | Taxonomy Image |
| Version: | 6.x-1.6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Hello,
I have many vocaboularies and everyone has terms with own taxonomy_images.
When I theme a content type, I need to show one image from X vocaboulary in a specific place and another image from Y vocaboulary in another specific place...
To print tax_images on my contemplate, I use:
<?php print $node->content['taxonomy_image']['#value'] ?> but, in this way, I show all images (from X and Y vocaboularies) together
(see jpg in attchment).
Any way to "split" / choose what image I want to show ?
Thanks all for help and suggestions
| Attachment | Size |
|---|---|
| tax_images_show_2vocab.jpg | 15.67 KB |
