{* * $Revision: 16235 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *} {g->callback type="core.LoadPeers" item=$item|default:$theme.item windowSize=$windowSize|default:$theme.params.maxMicroThumbs addEnds=false loadThumbnails=true} {assign var="data" value=$block.core.LoadPeers} {if !empty($data.peers)}
| {if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"} {else} {g->text text="no thumbnail"} {/if} | {else}{strip} {if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"} {else} {g->text text="no thumbnail"} {/if} {/strip} | {/if} {assign var="lastIndex" value=$peer.peerIndex} {assign var="columnIndex" value=$columnIndex+1} {/if} {/foreach}