Storyteller Posted October 31, 2015 Share Posted October 31, 2015 Is there a way in IP.Pages to insert an image in "Display Custom Format" under Display Options for a select box? The following code doesn't work: {{if ($value=='yes')}} <img src="images/yes.png" title="" alt="" /> {{elseif ($value=='no')}} <img src="images/no.png" title="" alt="" /> {{endif}} With that I just get the html entry (<img src="images/yes.png" title="" alt="" />) displayed. Link to comment Share on other sites More sharing options...
Storyteller Posted November 1, 2015 Author Share Posted November 1, 2015 Got it sorted out. I had to use |raw for the key in the output template. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.