I have managed to do some digging around on this problem and have discovered that the picturetpl template is not evaluating the &bigimg_linkstyle at all.
I proved this by creating "galpicturetpl" as a copy of the original, and replacing the inserted <a href> section from the lightbox branch:
[+maxigallery.big_img_linkstyle:is=`external`:then=`
<a href="[(base_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]" rel="lightbox" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
`+]
The generated source now contains the ’rel=lightbox’ BUT my &bigimg_linktyle is still set to lightboxv2.
If you visit
http://www.darrenjehan.me.uk/page/gallery-home.php and look at the source code from one of the Nebula images, you’lll see the ’rel=lightbox’ on the image link, but the Lunar ones do not. They still show ’rel=external’.
Here is the snippet call:
[!MaxiGallery? &display=`normal` &pics_per_row=`4` &bigimg_linkstyle=`lightboxv2` &max_thumb_size=`110` &max_pic_size=`600` &thumb_use_dropshadow=`1` &thumb_shadow_bgcolor=`222222` &pic_use_dropshadow=`1` &pic_shadow_bgcolor=`222222` &keep_bigimg=`1` &admin_webgroups=`UserGroup` &pictureTpl=`@FILE:assets/snippets/maxigallery/templates/galpicturetpl.html`!]
So, why would the picturetpl not evaluate the linkstyle correctly?
Thanks for any suggestions!