1

Is there a way to replace the value in view of a field to image?

i.e: value = 101, so display <img src=/myfiles/101.gif> in hook / theme_() function instead of using a .tpl file?

Laxman13
  • 5,226
  • 3
  • 23
  • 27
amirash
  • 2,419
  • 5
  • 24
  • 26

1 Answers1

1

If you are using Views you can simply change the settings of the field in a similar fashion to: Rewrite the output of a field

Laxman13
  • 5,226
  • 3
  • 23
  • 27