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}
Lightbox- first thumb larger
Re: Lightbox- first thumb larger
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
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
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
hm AE-Gallery has got this option but it doesnt work as a Lightbox...
Re: Lightbox- first thumb larger
You could use jQuery to target the first image then do some css to make it larger...