Gallery Module 1.6.1

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
newrecruit02
Forum Members
Forum Members
Posts: 98
Joined: Wed Aug 01, 2012 7:46 pm

Gallery Module 1.6.1

Post by newrecruit02 »

Is there anyway to program this if statement to just use 1 icon image vs the entire library? default code below...



<div class="gallery">
<div class="pagenavigation">
{if $pages > 1}
<div class="prevpage">{$prevpage}</div>
<div class="nextpage">{$nextpage}</div>
{/if}
{if !$hideparentlink && !empty($parentlink)}<div class="parentlink">{$parentlink}</div>{/if}
{if $pages > 1}<div class="pagelinks">{$pagelinks}</div>{/if}
</div>

{foreach from=$images item=image}
<div class="img">
{if $image->isdir}
<a href="{$image->file}" title="{$image->titlename}"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" /></a><br />
{$image->titlename}
{else}
<a class="group" href="{$image->file|escape:'url'|replace:'%2F':'/'}" title="{$image->comment}" rel="prettyPhoto[{$galleryid}]"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" /></a>
{/if}
</div>
{/foreach}
<div class="galleryclear">&nbsp;</div>
</div>
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Gallery Module 1.6.1

Post by velden »

Probably there is, but I'm not sure what you want exactly.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery Module 1.6.1

Post by Jos »

On http://wiki.cmsms.nl/index.php/Gallery# ... _Questions I read: "How to have one thumbnail and the rest hidden".. Is that what you mean?
Post Reply

Return to “Modules/Add-Ons”