Hello g2_devs,
I've developed my theme with a gallery nightly build from 31.12.2006. I'm using the variable $theme.navigator.next.thumbnail
to show the next image in photo.tpl.
Now I'm using Gallery 2.2 RC1 and this variable isn't set, so no thumbnail is shown (the link variable $theme.navigator.next.urlParams
still works).
Do you know why it isn't set - Debug mode doesn't show this variable - or do you have a workaround/alternative for this?
Regards,
Richard
Posts: 46
Never mind, I've done it with core.LoadPeers now.
Posts: 2
Can You describe how did you solved it?
I solved it same way, but it show wrong navigation thumbnails for first few and last few photos. I get next/prev photo id by $block.core.LoadPeers.peers.3.id/$block.core.LoadPeers.peers.5.id and then use it in core.DownloadItem such like this:
<img src="main.php?g2_view=core.DownloadItem&g2_itemId={$block.core.LoadPeers.peers.3.id}&g2_serialNumber=2" width="150" height="100" class="previous" />
I do not understand why in first few pictures in album is $block.core.LoadPeers.peers.3.id exactly same and in remaining photos its changing as I suppose.
Posts: 2
OK nevermind, I finally did it by rewriting modules/core/blocks/navigator.tpl