Lightbox- first thumb larger
Posted: Mon Jun 14, 2010 8:25 pm
Hello,
I am trying to change Lightbox template to do something like that: first thumb should be on center and much more larger that other. Have you got any idea how to do that?? I am using this template:
{if !empty($module_message)}{$module_message|escape}{/if}
{if !empty($gallerytitle)}{$gallerytitle}{/if}
{if !empty($gallerycomment)}{$gallerycomment}{/if}
{$imagecount}
{if $pages > 1}
{$prevpage}
{$nextpage}
{/if}
{if !$hideparentlink && !empty($parentlink)}{$parentlink}{/if}
{if $pages > 1}{$pagelinks}{/if}
{foreach from=$images item=image}
{if $image->isdir}
file}" title="{$image->title}">thumb}" alt="{$image->title}" />
{$image->title}
{else}
file}" title="{$image->title}" rel="lightbox[gallery]">thumb}" alt="{$image->title}" />
{/if}
{/foreach}
I am trying to change Lightbox template to do something like that: first thumb should be on center and much more larger that other. Have you got any idea how to do that?? I am using this template:
{if !empty($module_message)}{$module_message|escape}{/if}
{if !empty($gallerytitle)}{$gallerytitle}{/if}
{if !empty($gallerycomment)}{$gallerycomment}{/if}
{$imagecount}
{if $pages > 1}
{$prevpage}
{$nextpage}
{/if}
{if !$hideparentlink && !empty($parentlink)}{$parentlink}{/if}
{if $pages > 1}{$pagelinks}{/if}
{foreach from=$images item=image}
{if $image->isdir}
file}" title="{$image->title}">thumb}" alt="{$image->title}" />
{$image->title}
{else}
file}" title="{$image->title}" rel="lightbox[gallery]">thumb}" alt="{$image->title}" />
{/if}
{/foreach}