Okay I posted this thread in another forum on modxcms.com, and asked for that thread to be moved to this forum, but nothing has been done about it, so I have created this thread here. I am hoping for an answer pretty soon.
Anyway here is my query: I am just wondering if it is possible for a website user to click on the gallery group (for example: Deb’s photos), then to go to that group of photos, instead of clicking on each photo at the start of the gallery?
What’s your snippet call?
And yes, it’s possible. Just create a custom template where you make the link from the image to be:
<a href="[~[+maxigallery.picture.gal_id+]~]".....
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Like I said, you need to create a custom template to your snippet call.
If you are displaying childgalleries, you want to create a custom childgalleryTpl.
Probably with something like this in your custom template:
<li>
<a href="[~[+maxigallery.picture.gal_id+]~]">
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" title="[+maxigallery.strings.go_to_gallery+]" alt="[+maxigallery.strings.go_to_gallery+]" />
</a>
<p style="width:[+maxigallery.picture_width_thumb+]px;">[+maxigallery.pageinfo.pagetitle:htmlent+]</p>
</li>
Check the maxigallery wiki article for more information on custom templates if you don’t know what to do.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."