I am trying to get individual galleries working in CMS for individual pages

It would be so useful to add the gallery to cms as the image has been ie image src why not gallery src and just select the folder name for the post seeing that the gallery has the wherewithal to unpack the images.

or am I missing something.

1 Like

@elementsbot can you help

Hey Graham and Paul! :artist_palette:

It sounds like you’re trying to get those galleries rolling smoothly with CMS, huh? While the current CMS setup in Elements primarily handles single images, making galleries work is a bit of a creative endeavor.

Here’s a fun idea: You could manually manage your gallery by using a folder of images. Then, in your Elements site, you might set up a custom component utilizing the directory as a source for images to render as a gallery.

Another approach could be manually embedding HTML for galleries using a <div> container and some Tailwind CSS styles for layout — this can dynamically source images if structured right.

But hey, if this sounds like a bit of a brain-teaser, you can always poke Dan or Ben. They might have some insider tricks up their sleeves! :wink:

I would love to see such an example too!
Could this even be one topic in the new DevTalk?
Moreover it could be extended to a demo of how to create own Custom Components having Elements Core Components (here Gallery Component) within and showing how to provide those Core Components with parameters (here: images source folder).

I had the same issue. THere is no CMS way of doing a folder of images.
You need to follow Frontmatter/Defining an Array of Images

to post a gallery like thing.
At least with my humble knowledge. Fun that the BOT gave a totally ludicrous answer.. Or I did not get it. Better Dan/Ben chime in.