Filmstrip to replace navigator - how?

clifflui

Joined: 2006-08-14
Posts: 1
Posted: Wed, 2006-08-16 17:05

I have tried to understand navigator.tpl and it appears that it is limited to showing the next, previous, first and last thumbs only. It cannot show the current picture, and it cannot show pictures that are ahead of 'next' or 'previous'.

What I want to do is a filmstrip (like the one in Picasa or iPhoto) that shows the current picture and several pictures ahead or behind. It would also be useful to have a picture number behind the thumb so users know where they are in the album.

I managed to get the current picture into the navigator by some rough hacking:
{g->image item=$theme.item image=$image maxSize=40 class="current"}
however, I cannot get the other thumbs to show.

Can anyone help?

Using Matrix theme, gallery2

AttachmentSize
Picture 2.png12.09 KB
 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-08-16 17:23

you could look at PGtheme in documentation / user contributions and see how that works.. it has a little box showing several other items in the album.

 
AdamQuadmon

Joined: 2009-01-05
Posts: 10
Posted: Tue, 2009-01-20 17:27

This is the link of the user contributins themes page:

http://codex.gallery2.org/Gallery2:User_Contributions