MODX Community

Gallery how to get cover of album?

Hellooo there,

So Im trying to set up a Gallery on a website.
Now, I want to set it up so one can choose three buttons that redirect to an album. Something like this:

Now I want the images of these buttons (like above FIAT - CITROEN - PEUGEOT) to be the covers of the albums.

Does anyone now how I can retrieve them?

Thanks a lot!

I guess you can call GalleryAlbums with a custom row template

[[!GalleryAlbums? &rowTpl=`myAlbumRowTpl`]]

and then use the placeholder [[+image]] in that template.

2 Likes

thanks! Im going to look at it