I’ve really been wrestling with this one.
Here is the snippet call:
[[MaxiGallery? &gal_query_ids=`all` &query_level_limit=`5` &order_by=`random` &limit=`1` &pics_per_row=`1` &display=`pictureview` &pictureTpl=`mgPicture`]]
Here’s my mgPicture chunk:
<div class="picturecontainer">
<a href='[~[+maxigallery.picture.gal_id+]~]'><img id="maxImage" src="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" alt="[+maxigallery.picture.title:htmlent+]" /></a>
<p id="maxTitle">[+maxigallery.picture.title:htmlent+]</p>
<p id="maxDescr">[+maxigallery.picture.descr:htmlent+]</p>
</div>
It seems no matter what I try, none of the maxigallery.picture variables are expanded in the output. base_url gets inserted properly and so does maxigallery.path_to_gal, but everything else is missing.
BTW, if I leave out the display parameter, the mgPicture chunk never executes and the snippet works like it used to, putting up a thumb as a link to a larger version of that picture.
I imagine I’m missing something obvious here.
Bob