I am using the NZDI theme and I want to be able to display every single thumbnail of the gallery in the Micro Navigation. It currently only shows 7 thumbnails from the gallery. Here is the code that displays the mini thumbnails.
{* Start - Show Micro Thumnails In Latest Images Block *}
{if $theme.params.LatestImagesAlbum}
{g->callback type="core.LoadPeers" item=$item|default:$theme.item
windowSize=$windowSize|default:$theme.params.maxThumbnails addEnds=false loadThumbnails=true}
{assign var="data" value=$block.core.LoadPeers}
{if !empty($data.peers)}
<div id="micro-navigation">
<div id="gallery_container">
<div id="thumb_container">
<div id="thumbs">
{assign var="lastIndex" value=0}
{assign var="columnIndex" value=0}
{foreach from=$data.peers item=peer}
{assign var="title" value=$peer.title|default:$peer.pathComponent}
{if ($peer.peerIndex == $data.thisPeerIndex)&& !empty($peer.thumbnail)}
<span id="current-image">{g->image item=$peer image=$peer.thumbnail maxSize=$theme.params.sizeThumbnails title="$title"}</span>
{else}
{if !empty($peer.thumbnail)}
<a href="{g->url params=$theme.pageUrl arg1="itemId=`$peer.id`"}">
{g->image item=$peer image=$peer.thumbnail maxSize=$theme.params.sizeThumbnails title="$title"}
</a>
{/if}
{/if}
{assign var="lastIndex" value=$peer.peerIndex}
{/foreach}
</div>
</div>
</div>
</div>
{/if}
{/if}
Posts: 22888
not sure but see if editing
modules/core/Callbacks.inc
$windowSize = isset($params['windowSize']) ? ($params['windowSize'] - 1) : 6;Edit the 6 I think.
Or it is window size dependent and you will have to edit the rest of the 'case' in the function callback()
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team