<{foreach from=$block.pics item=photo}>
<{/foreach}>