You need to use the &manage_target and &is_target parameters to make the picture management on a separate document, because there are two gallery calls in the same document. See the parameters in wiki page to get an idea how to use them. Basically you create a new document (hidden one for example) that has the same snippet call, but with &is_target=`1` in the parameters. Then in document where you have your gallery call, you use &manage_target=`id_of_the_document_that_you_created`. Every gallery can use the same document to manage the pictures, if the picture settings (size etc) are common to all galleries.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Sure, just use a call:
[!MaxiGallery? &view_gallery=`[[get_gal_id]]`!]
and do a get_gal_id snippet:
Then you can call that document with mysite.com/page.html?gal_id=21 to view a gallery from the document id 21.
Or to build a link with MODx tags, use [~32~]?gal_id=21 where 32 is the document that has the snippet call above and 21 is the document that holds the gallery you want to view.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
That’s because you are also making the id document variable to an url, try this instead:
<a href="[~32~]?gal_id=[*id*]" onmouseover="javascript:showPic....
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
[*id*] is the document variable for the document id, for example 23.
[~document_id_here~] is a tag in MODx to make a link to some document.
[~[*id*]~] would then be same as [~23~] and that would print the url to that document with the alias information when parsed, eg. container/another/yourpage.html
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
cool. now it make sense why I got the parse error.
thanks once more doze.