{layout name="layout2" /}
{if $detail.image}
img
x
{else} {/if}