Page 1 of 1

Lightbox- first thumb larger

Posted: Mon Jun 14, 2010 8:25 pm
by stahu13
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}
 

Re: Lightbox- first thumb larger

Posted: Sat Jun 26, 2010 2:26 pm
by davids355
Take a look at the other default templates, I'm sure there is code in one of them that singles out the first image...??

Re: Lightbox- first thumb larger

Posted: Sat Jun 26, 2010 7:50 pm
by stahu13
thanks for reply

unfortunately any of default templates havent got this option
I have got these templates:
AE-Gallery 
Colorbox
Fancybox
Lightbox
Lytebox
Slimbox
Thickbox

maybe you know any others good templates, maybe with option which I need??
many thanks

Re: Lightbox- first thumb larger

Posted: Sat Jun 26, 2010 7:54 pm
by stahu13
hm AE-Gallery  has got this option but it doesnt work as a Lightbox...

Re: Lightbox- first thumb larger

Posted: Sat Jun 26, 2010 8:00 pm
by Dr.CSS
You could use jQuery to target the first image then do some css to make it larger...