Basically, on an event listing, instead of the term "NFL" I want the NFL Logo. Instead of NBA, I want the NBA Logo. It makes for a better looking upcoming events list.

I tried adding an image field to the taxonomy term, but it doesn't show on Views. Is there another way to achieve this on drupal 7?

I did this with D6 using Taxonomy Image, but there doesn't seem to be a way to do it here.

Check www.shedsh.com/upcoming, a D6 site, for what I'm trying to achieve with D7. (I know there's an error with one of the Australian open images. I'm on vacation, so will fix when I'm back.)

Comments

tvn’s picture

You could prepare images named as your taxonomy terms, then in Views check "Rewrite the output of this field" for taxonomy term name field and write in text box something like
<img src="/path-to-image-folder/[name].png" /> so it will output image with term name instead of term name.

Seneschall’s picture

Thanks, tvn. Could do that I guess. I'm surprised Views doesn't handle taxonomy images, but hadn't thought of that approach.