Hey, I’ve been working with Webflow for a while but am not quite as experienced in the CMS or custom code department, not sure if this is doable normally in webflow.
I am building a portfolio page, where projects are displayed as cards (through CMS), and each card / project has a main image, and a multi-image section for additional pictures / detail shots, this is all pretty standard.
The part im struggling with is that I had hoped to create a gallery page (as a home section on the website, not a gallery within each project page), that randomly showcases any/all images featured in the “works” CMS collection. Ive been able to make something that randomly shows the main / cover image of each project, but I was hoping to find a solution to display multiple images from each project, like the additional pictures in the multi reference fields.
The best I can currently do displays all of the images from one project together, so the whole gallery comes in chunks of pictures that all relate to one project at a time. I can randomize the order of which project appears first, but it shows all of the pics from that project at once, no mixing.
I hope this hasn’t been answered elsewhere, but all I could find online involved creating multi-image galleries on cms pages, or creating a gallery outside of a cms page using only single image outputs. I have considered Switching the way I input projects into the CMS, and instead of having a multi image upload have multiple single image uploads (ie, slot for detail shot 1, 2, 3 etc), but many of the projects vary drastically in size, some have no pictures where other have 20, and I would really prefer to stay with the multi-image upload if at all possible.
Again, im not as experienced in the custom code department, so would really appreciate if code related responses could be in layman’s terms,
TL;DR; Gallery page that displays multiple images (from a multi-image CMS field), from multiple different projects (items within the collection), and randomly distributes images so that the page has a variety from each project, instead of grouping together.
Thanks in advance to anyone who’s willing to help out, really appreciate it!