{assign var=attrTitle value=$Child->getAttribute('title')|escape:"html"} {assign var=hasImage value=0} {if $Child->getAttribute('image_site')} {assign var=hasImage value=1} {/if} {$Child->getAttribute('title')} {if $Child->getAttribute('image_site')} {image src=$Child->getAttribute('image_site') style="width: 100%; height: auto;" maxwidth="280"} {else} {/if}