{foreach from=$aItems key=iKey item=aItem name=attachment}
{$aItem.file_name} ({$aItem.file_size|filesize}) {if $aItem.is_image}
{img server_id=$aItem.server_id title=$aItem.description path='core.url_attachment' file=$aItem.destination suffix='_thumb' max_width='attachment.attachment_max_thumbnail' max_height='attachment.attachment_max_thumbnail'}
{$aItem.description}
{/if}
{foreachelse}
{phrase var='attachment.no_attachments_available'}
{/foreach}