By waltercat on
I am looking for a module that displays a text field submission as an image rather than the text. For example a user fills out a cck single selection field with the following values (monkey, horse, elephant). If the user selects monkey and saves the node, a picture of a monkey displays rather than the text monkey. I would be fine with a cck module that allows me to select from a pre-determined list of images too. I've been searching cck modules for hours and I can't find anything that allows someone to select a value that displays an image.
Comments
An alternative approach is to
An alternative approach is to use a vocabulary and taxonomy image which would allow you to associate an image with each term. With the correct settings taxonomy image will show the image(s) in place of the terms.
Great Suggestion!
That seemed to do the trick. Thanks!
Without Taxonomy
I am doing something similar.
In my case, there are no options like Monkey, Elephant, etc.
In my case, we have a content type where we want to display an Image (pre-defined) for a cck field (filefield).
How can we do that?
More details?
I assume you don't just want one pre-defined field for the whole content type, i.e. a "default image"?
See you at the Drupalcon!