Quote from: doze at Sep 05, 2007, 12:15 AM
Hmm.. that should do it. Is the site online? url?
Sorry for not checking sooner.
No the site is not online, at least not reachable for others.
Lightbox basicly works like this:
1. It looks at all the link tags and and their rel attribute.
2. It collects all pictures that have rel="lightbox[...]" in them.
3. It looks what’s inside the brackets in lightbox[...] and organizes all pictures that have the same text to a same picture set.
So the change that I said above should do this, it should make rel="lightbox[88]" to each picture where 88 is the gallery id for the picture. And then each picture from the same gallery should be on the same lightbox picture set. Does it do that? Is there the gallery id in the brackets for each picture?
I´m not quite sure what you mean. It looks like is has the picture ID instead. It displays every picture as it was a seperate gallery.
This is what I´ve got now
[!Maxigallery? &view_gallery=`[+id+]` &is_target=`1` &pics_per_row=`3` &limit=`3` &disable_rightclick=`1` &display=`embedded` &embedtype=`lightboxv2` &max_pic_size=`0` &max_thumb_size=`110` &big_img_linkstyle=`popup` &thumb_use_watermark=`1` &thumb_watermark_txt=`Woodlife` &thumb_use_dropshadow=`0` &pic_use_watermark=`1` &pic_watermark_type=`image` &keep_bigimg='1' &galleryPictureTpl=`galleryPictureTpl`!]
It produces this, a bit cleaned up, and deleted a lot
<div class="thumbscontainer">
<ul class="thumbs">
<li><a href="/assets/galleries/24/essen_white_wash.jpg" rel="lightbox" title="">
<img src="/assets/galleries/24/tn_essen_white_wash.jpg" class="thumbnail" title="" alt="" />
</a></li>
<li><a href="/assets/galleries/24/eiken_vloer_onbehandeld.jpg" rel="lightbox" title="">
<img src="/assets/galleries/24/tn_eiken_vloer_onbehandeld.jpg" class="thumbnail" title="" alt="" />
</a></li>
</ul></div>
galleryPictureTpl is totaly original except for your suggested change
[+maxigallery.embedtype:is=`smoothgallery`:then=`
<div class="imageElement">
<h3>[+maxigallery.picture.title:htmlent+]</h3>
<p>[+maxigallery.picture.descr:htmlent+]</p>
<a href="[+maxigallery.picture_link_url+]" title="[+maxigallery.strings.click_to_zoom+]" class="open"></a>
<img src="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="full" />
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" />
</div>
`+]
[+maxigallery.embedtype:isnot=`smoothgallery`:then=`
<li>
[+maxigallery.embedtype:is=`slidebox`:then=`
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox_[+maxigallery.path_to_gal+]gallery">
`+]
[+maxigallery.embedtype:is=`lightboxv2`:then=`
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[[+maxigallery.picture.gal_id+]]" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
`+]
[+maxigallery.embedtype:is=`slimbox`:then=`
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[maxigallery]" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
`+]
[+maxigallery.embedtype:is=`popup`:then=`
<a href="javascript:void(0);" onClick="javascript:openWindow('[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]','[+maxigallery.picture.title:htmlent+]',[+maxigallery.picture_height_normal+],[+maxigallery.picture_width_normal+],'gallery');">
`+]
[+maxigallery.embedtype:is=`external`:then=`
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="external">
`+]
[+maxigallery.embedtype:is=``:then=`
<a href="[+maxigallery.picture_link_url+]">
`+]
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" />
</a>
[+maxigallery.picture.title:isnot=``:then=`
<p style="width: [+maxigallery.picture_width_thumb+]px;">
[+maxigallery.picture.title:htmlent+]
</p>
`+]
</li>
`+]
If you need more information you probably have to tell where to get it