{if $Pagination && $Site} {$Pagination->create()} {/if} {assign var=counter value=1}
{foreach from=$images item=Image} {if $counter > $max} {break} {/if}
{if !$shuffleImages} {image image=$Image height="1200" width="1200" class="quiqqer-control-gallery-gridAdvanced-image-img" loading="lazy"} {/if} {if $this->getAttribute('showImageTitle') && $Image->getTitle()}
{if $titleClickable} {/if} {$Image->getTitle()} {if $titleClickable} {/if}
{/if}
{assign var=counter value=$counter+1} {/foreach} {if $completeList}
{/if}
{if $Pagination && $Site} {$Pagination->create()} {/if}