Apparently when galleries get too big, I get a strange behavior of MaxiGallery. I’ll try to explain.
The webpage shows some source code of MG:
[+maxigallery.embedtype:is=`smoothgallery`:then=`
Then follow the thumbnails of the pictures as an unorderd list with bullets. In the source code of the page, these thumbnails are embedded between the tags
<div id="myGallery257"></div>
where 257 is the id of the page.
After the closing tag, I see
`+]
[+maxigallery.embedtype:isnot=`smoothgallery`:then=`
[+maxigallery.pictures:isnot=``:then=`
which also is displayed on the webpage.
Then the thumbnails are showed again, this time according to the template I used.
After the closing tag of the div, I see
which again is showed on the webpage (in this case before the thumbnails).
Here’s a
link to the page so you can see what I mean.
I use this snippet call:
[!MaxiGallery? &lang=`nl` &display=`embedded` &embedtype=`slimbox` &pics_in_a_row=`3` &max_thumb_size=`130` &max_pic_size=`0` &thumb_use_dropshadow=`1` &galleryPictureTpl=`mgGalleryPictureTpl`!]
This is my template mgGalleryPictureTpl:
<li>
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[maxigallery]" title="<span class="e;pictureText"e;><strong>[+maxigallery.picture.title:htmlent+]</strong><p>[+maxigallery.picture.descr:htmlent+]</p></span>"><img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" /></a>
[+maxigallery.picture.title:isnot=``:then=`<br /><span style="width: [+maxigallery.picture_width_thumb+]px;">[+maxigallery.picture.title:htmlent+]</span><br />`+]
</li>
I also tried the call without template and again with the standard template as found in assets/snippets/maxigallery/templates, but with the same result.
I’ve experienced this problem before, but then I put the images in separate albums, which solved the problem.
But this time I just want one big gallery, so how can I solve this problem?
I use MaxiGallery 0.5.2 with modx 0.9.6.3.
Any help with this problem will be greatly appreciated!