Image taxonomy in Drupal 7

I installed a taxonomy in Drupal 7 called Colors. I added a few terms (red, blue, etc.) and added a color image to each member.

In the content type, I added a terms link field, so my client can choose colors (colors in which this product is available).

In the views, and not in listing the taxonomy terms on the node page, I would like to display an image associated with the taxonomy term instead.

Any ideas on how to do this? I tried endlessly "display this field as" in the "Views", but just can't get it to work. The only way I actually earned is to upload images when adding content, but this is not ideal.

+4
source share
3 answers

In Drupal 7, you must add a taxonomy under "relationships." Then the taxonomy images will be displayed as fields in the view.

+1
source

I had the same problem, all I did was add a new field called β€œimage” to the taxonomy and inside the view that I just called this field. its performance.

+1
source

It’s best to create a viewing template, and in the template you can see the value in this field and load the corresponding image in its place.

Here is a guide on this in views 2: http://www.group42.ca/theming_views_2_the_basics

Could not find it for views 3

0
source

All Articles