Hallo,
Bedankt voor de reactie.
Ik heb het toegevoegd in het default template van het album maar het werkt niet. Ik snap niet waarom.
Misschien staat het op de verkeerde plaats? Staat nu bovenaan.
codes zijn nu:
{if $returnlink}Return to the album index page{/if}
{* Include JS files. You can move this to the head of your page template if you want *}
{if $pictureid !=0}
{* Big Picture *}
{$picture->name}
{$picture->comment}
{if $link.picture.previous}< Previous{/if}
( Picture {$picturenumber}/{$picturecount} )
{if $link.picture.next}Next >{/if}
picture}" alt="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" title="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" />
{/if}
{* Album List *}
{if !$album}
{foreach from=$albums item=album}
link}">
thumbnail}" alt="{$album->name|escape:'html'}" title="{$album->name|escape:'html'} - {$album->comment|escape:'html'}"{$album->autothumbnailsize} />
{$album->name}
({$album->picturecount} images)
{$album->comment}
{/foreach}
{else}
{* Photo List *}
Click on a thumbnail to view a larger image. Click anywhere on the larger image or use the 'Esc' (escape) key to close it. Use the 'next' and 'previous' links or the '<' or '>' (more than/less than keys) to navigate the larger images. {if $returnlink}Return to the album index page{/if}
{if $pagecount>1}
<<
{if $link.page.previous}< {/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next} >{/if}
>>
{/if}
{$album->name}
{$album->comment}
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
picture}" rel="{$album->name|escape:'html'}" class="thickbox" title="{$onepicture->name|escape:'html'} - {$onepicture->comment|escape:'html'}"> thumbnail}" alt="{$onepicture->name|escape:'html'} - {$onepicture->comment|escape:'html'}" title="{$onepicture->name|escape:'html'} - {$onepicture->comment|escape:'html'}"{$onepicture->autothumbnailsize} />
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
{/foreach}
{if $picturecount==0}No image{/if}
{/if}
{if $picture->id>0}
{/if}