Background: Customer X has a CCK-based Content Type (vendorxxentry) and is using Views2 to generate a listing of all the vendorxxentry nodes in a simple table.
One of the fields in vendorxxentry is called "vendorxxattitude", which appears as one of the following enumerated possible values:
- happy
- sleepy
- dopey
- grumpy
Customer X has four custom-made 16x16 images that correspond to these enumerated values. He wants to have them display in the generated view, so instead of seeing "happy" in the generated view, the user would see the image happy.png in its place. Customer X would like to accomplish this without breaking the ability to sort individual columns as can be currently done with Views2 in table output mode.
Question: What methods would you use in order to substitute the text with the associated images? Assume that the images should only be substituted in one or more specific views (e.g., vendorxxsummary, vendorxxbyxxdate, vendorxxbyxxindustry), but not in the individual node views themselves.