
Show up in the templates:

I know this should be simple, but I can't figure out how to do it.

Code: Select all
{capture assign="page_illustration"}
<img src="/uploads/images/{$content_obj->GetPropertyValue('image')}" alt="" class="illustration" />
{/capture}
{if !empty($page_illustration)}
{$page_illustration}
{/if}
Code: Select all
<img src="/uploads/images/-1" alt="" class="illustration" />
Code: Select all
{capture assign="page_illustration"}
<img src="/uploads/images/{$content_obj->GetPropertyValue('image')}" alt="" class="illustration" />
{/capture}
{if $page_illustration == '-1'}
{else}
{$page_illustration}
{/if}
Code: Select all
{assign var=page_illustration value=$content_obj->GetPropertyValue('image')}
{if $page_illustration == '-1'}
{else}
<img src="{root_url}/uploads/images/{$content_obj->GetPropertyValue('image')}" alt="" class="illustration" />
{/if}