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

nevets’s picture

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.

waltercat’s picture

That seemed to do the trick. Thanks!

pareen’s picture

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?

lomo’s picture

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!