-
☆ A M B ☆
- 894 Posts
Try changing your gallleryItem call to something like this:
[[!GalleryItem? &id=`1`]]
That way it loads the image you specify initially.
Hope that helps.
-
☆ A M B ☆
- 894 Posts
I had a similar issue once and I used another gallery call like this:
[[!Gallery? &album=`gallery album Id goes here` &useCss=`0` &thumbTpl=`thumb tpl` &limit=`1` &toPlaceholder=`placeholder name of galleryItem`]]
And the thumb tpl had:
If it has the same placeholder name as the galleryItem when you click on the thumbnails it will replace whatever image is there.
Hope that works for ya.
Hi this solution works, but I'm now also stuck if anyone can help at all? For some reason it fails when Gallery item IDs get higher than 100???
https://forums.modx.com/thread/98144/snippet-not-working-right-all-the-time#dis-post-530695