Jump to content

IP.Pages how to insert an image in a custom field?


Storyteller

Recommended Posts

Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...