<{assign var="images" value=$page->getImages()}>
<{if $images}>
<{if $images|@count == 1}>
<{section name="i" loop=$images}>
getHtmlSize(300, 300, 'fit')}>/>
<{/section}>
<{elseif $images|@count < 3}>
<{section name="i" loop=$images}>
getHtmlSize(150, 150, 'box')}>/>
<{/section}>
<{elseif $images|@count < 6}>
<{section name="i" loop=$images}>
getHtmlSize(100, 100, 'box')}>/>
<{if $smarty.section.i.index%3 == 2}>
<{/if}>
<{/section}>
<{else}>
<{section name="i" loop=$images}>
getHtmlSize(50, 50, 'box')}>/>
<{if $smarty.section.i.index%3 == 2}>
<{/if}>
<{/section}>
<{/if}>
<{/if}>
<{$page->getText()}>
<{if $get.mail}>
Tak for din mail
<{else}>
<{if $page->getMetaValue("is_contact")}>
<{/if}>
<{/if}>