I have a simple snippet call, with only one paramater; &display`normal`;
What I would like to have is when a picture is clicked, a popup window opens with the photo and the previous /next links. Closing the popup would take you back to the index. Is there any way I can do this without seriously hacking the snippet?
-Josh
PM me to find out how you can get a FREE ipad 2!
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
I followed the instructions, and it halfway worked.On the index page, Each photo has the description with it.
I just want the photos, no text on the index page.
Also, the HTML is displaying on the popup window above the photos. I would also like to replace the ’index’ link with a ’Close Popup’ Link. (as mentioned in the Wiki article). How do I do this?
-Josh
PM me to find out how you can get a FREE ipad 2!
OK, I got the text off the gallery page. And I got the HTML to disappear. Now I just need the close link.
To get the text out I just edited the chunk: mgGalleryPicture and removed these lines:
<p style="width: [+maxigallery.picture_width_thumb+]px;">
[+maxigallery.picture.title:htmlent+]
</p>
PM me to find out how you can get a FREE ipad 2!
do a custom pictureTpl for the snippet call that is in the popup document and remove the index link in that
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Is there an example pictureTpl I can refer to?
PM me to find out how you can get a FREE ipad 2!
I found the pictureTPL, and I found this line:
<a href="[+maxigallery.index_url+]">[+maxigallery.strings.index+]</a>
How do I alter it to close the popup?
PM me to find out how you can get a FREE ipad 2!
<a href="javascript:self.close()">Close this Window</a>
"He can have a lollipop any time he wants to. That's what it means to be a programmer."