Display Image Style Based on Taxonomy

Events happening in the community are now at Drupal community events on www.drupal.org.
shane birley's picture

I am playing around with display suite and wondering about conditional statements. I was writing some code for this but thought I would ask the DS group as well.

The issue I have is I would like to display a particular image style based on a term selected for the node.

I am still researching this but I wonder if anyone has run across this.

Comments

Me too

jmaines's picture

I was able to get the data using $entity.

Dynamic field with a view

Display Suite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week