Hi Tomas,
What you can do with DG2, is set your column to custom content.
You can then add all 4 images in the same custom-content column and apply conditional visibility to each of them based on the conditions that you want to apply. Make sure the conditions for your conditional visibility are written in a way that you always only have 1 image showing.
You can also get the same results with dynamic classes and custom CSS, or create custom logic to set associations to an object with this ENUM, but that will be more complicated and harder to maintain.
Alright, thank you, but what should I write in the condition then?
omg... I got it :-) ....
Hi Tomas,
For each of the images you only target the specific ENUM value. For example: On the orange image you put the conditional visibility on the attribute value ->
for example: