I seached solutions for adopting Thickbox (jQuery) with MaxiGallery. I found some answers from the forum posts that it should be quite easy to implement but none of the posts offered real solutions how to do it exactly.
So, my question is: Has someone a working example how they have implemented Thickbox with MaxiGallery?
Do a custom galleryPictureTpl and put this in it:
<li>
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="thickbox">
<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>
Add thickbox js to the <head> of your site template and call maxigallery with that custom galleryPictureTpl. That should be it.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Quote from: Lammikko at Oct 06, 2008, 06:16 AM
I’ll add this tip to Wiki for future reference.
Great job, and thank you specially for updating the wiki.. It helps me with the support work immensely when I can just refer to the wiki for the things that are asked all the time.. I just hope that more people would do the same thing, so I wouldn’t need to write same things every time (and maybe I could also find time to do something new to MaxiGallery when I wouldn’t have to reply here all the time)

Just as a hint to all...
"He can have a lollipop any time he wants to. That's what it means to be a programmer."