Forgive me if this is a stewpid question, am just getting started with modx and maxigallery here.
I am making a catalogue site and am using ditto to display a list of products. The list displays a thumbnail of each product using maxigallery and I want each thumbnail to link to the product document. To do this I have created a custom &galleryPictureTpl like this:
<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+]" alt=`[+maxigallery.picture.descr:htmlent+]` /></a>
This all works well except when I click through from the thumbnail maxigallery appends the querystring parameter ’pic’ on to the URL. (This is not what I want because I am using slimbox on the product pages.)
I guess I just need the plain page URL like you get with [~[+id]~]. Is there a way I can do this within the maxigallery template?