Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Storyteller Posted October 31, 2015 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.
Storyteller Posted November 1, 2015 Author Posted November 1, 2015 Got it sorted out. I had to use |raw for the key in the output template.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.