I would like to signal a minor bug when having "Picture and thumbnails on same page" using the method given in the wiki.
If the template for the main picture displays either image title or description, the corresponding field must not contain quotes. If quotes are not escaped (like this: \’), the thumbnail having such title or description does not display the large image when clicked.
Escaping quotes is not a problem for a webmaster, but unfriendly for customers.
Addition:
But the major problem is that the escaping antislash prints when loading the page if it is contained in the description of the first picture. This is because the we are not passing through the Javascript script in that case.
You can create a custom phx modifier what escapes the placeholder data automatically and use that for the title and description placeholders.
EDIT:
Create a snippet "phx:slashandstrip" with this content:
return addcslashes(htmlentities(preg_replace("~([\n\r\t\s]+)~"," ",$output)), "'");
Then in your mgGalleryPicture chunk, change [+maxigallery.picture.title:htmlent+] to [+maxigallery.picture.title:slashandstrip+] in the thumbnail link onClick attribute.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."