<![CDATA[ Adding thumbnail for gallery List..... SOLUTION ??..... - MODX Community Forums]]> https://forums.modx.com/thread/?thread=50608 <![CDATA[Re: Adding thumbnail for gallery List..... SOLUTION ??.....]]> https://forums.modx.com/thread/50608/adding-thumbnail-for-gallery-list-solution#dis-post-296257
to the the thumbgal template,

<a href="[[~[[+id]]]]" >[[+tv.Gallery Logo Thumb]]</a>]]>
monsterwatt Nov 09, 2010, 03:04 PM https://forums.modx.com/thread/50608/adding-thumbnail-for-gallery-list-solution#dis-post-296257
<![CDATA[Re: Adding thumbnail for gallery List..... SOLUTION ??.....]]> https://forums.modx.com/thread/50608/adding-thumbnail-for-gallery-list-solution#dis-post-296256

on the template for my subgallery page i place the following gallery call:

[[!Gallery? &album=`[[*pagetitle]]`]]

This brings up my thumbnail for my gallery of the same page name...

now in my galthumb chunk i just need to open the corresponding page..

<a href="[~[[*id]]]" [[+tv.Gallery Logo Thumb]]</a> ... doesnt work, not far off though...]]>
monsterwatt Nov 09, 2010, 02:34 PM https://forums.modx.com/thread/50608/adding-thumbnail-for-gallery-list-solution#dis-post-296256
<![CDATA[Adding thumbnail for gallery List..... SOLUTION ??.....]]> https://forums.modx.com/thread/50608/adding-thumbnail-for-gallery-list-solution#dis-post-296255
within the dynamic gallery component create a new gallery called ’gallery1’ - upload some pics.

create a resource called Main gallery

within that page create another resource....

give that resource/gallery the title ’gallery1’ - Add a Gallery template Variable called ’Gallery Logo Thumb’ and select a thumbnail from the gallery you have created in the gallery component.

- now within the Main Gallery(ID-25) - the one above ’gallery one’ - use the following get resource call:


Also create a new chunk with the following code,

<p>[[+tv.Gallery Logo Thumb]]</p>

This will place the thumnail from the sub galleries on the gallery page,

now i just need to call the gallery album with the same name...

<p>[[+tv.Gallery Logo Thumb]]<a href="[[!Gallery? &album=`[[+pagetitle]]`]]"</a></p>

but the above doesnt work and loads everything, just need to say on click of the gallery thumb load the corresponding gallery....]]>
monsterwatt Nov 09, 2010, 02:03 PM https://forums.modx.com/thread/50608/adding-thumbnail-for-gallery-list-solution#dis-post-296255