{assign var='theResourceImage' value='theResourceImage'|settings}
{if $item->withImage && $theResourceImage}
{/if}
{if $item->withImage && $theResourceImage}
{/if}