Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Sorry, I don't see how to do this in the module without a lot of hokey coding.
You might be able to do something in Contemplate or a theme template using taxonomy_get_parents_all and iteratively calling taxonomy_image_display for each of them.
See the "A module usage matrix" section of the documentation for a possible starting point for such code. You might also want to look at the theme template in #301175: Calling the images?
Comments
Comment #1
chasz commentedhello can someone give me a hand with this??
I would like to grab the image of the taxo term and also the parent term/recursive vocab
i used contemp and it failed miserably
Comment #2
nancydruSorry, I don't see how to do this in the module without a lot of hokey coding.
You might be able to do something in Contemplate or a theme template using taxonomy_get_parents_all and iteratively calling taxonomy_image_display for each of them.
Comment #3
nancydruSee the "A module usage matrix" section of the documentation for a possible starting point for such code. You might also want to look at the theme template in #301175: Calling the images?
Comment #4
chasz commentedi made a slight mistake on this request; i assume a node only has one taxonomy term, which is incorrect.
But i would still like to grab the highest order image, which most likely would be the Vocab?
Comment #5
nancydruThe vocabulary does not have an image associated with it - only terms have images.
Comment #6
nancydruI think I can sort of do this - but only because of the caching I added some time ago, otherwise it would be far too expensive.
Comment #7
nancydru