Looking forward to see what you put together Doze. I am always impressed.
I put together a kludge to get MaxiGallery (I am using 0.5.2) to display images using
HighSlide JS. I loaded the JS and CSS through a separate snippet for now (using RegClientScript and RegClientCSS respectively), but I will probably just add a few lines to the MaxiGallery code base to make &embedtype=`highslide` an option.
For now, this is my MaxiGallery call:
[!MaxiGallery? &max_thumb_size=`100` &quality_pic=`98` &galleryOuterTpl=`outerTpl` &galleryPictureTpl=`HighSlideTPL` &manager_webusers=`[[me]]`!]
and I added this to my template (in chunks):
<div id="highslide-container"></div>
right under the body tag, and...
<div id="controlbar" class="highslide-overlay controlbar">
<a href="#" class="previous" onclick="return hs.previous(this)" title="Previous (left arrow key)"></a>
<a href="#" class="next" onclick="return hs.next(this)" title="Next (right arrow key)"></a>
<a href="#" class="highslide-move" onclick="return false" title="Click and drag to move"></a>
<a href="#" class="close" onclick="return hs.close(this)" title="Close"></a>
</div>
just after the MaxiGallery snippet call.
and here is the content of my {{HighSlideTPL}} chunk:
<div class="hsgallery_image">
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="highslide" onclick="return hs.expand(this, { captionId: '[+maxigallery.picture.filename+]' } )">
<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>
</div>
<div class='highslide-caption' id='[+maxigallery.picture.filename+]'>
<strong>[+maxigallery.picture.title:htmlent+]</strong>
<br />
[+maxigallery.picture.descr:htmlent+]
</div>
http://scottydelicious.com/photos/ for an example.
As I mentioned earlier, I will post my code contributions when I get them squared away. That is, unless Doze says "Scotty... Don’t bother. I have already done that!"
later
-sD-
Dr. Scotty Delicious, Scientist.