Hey Everyone, I’m racking my brain trying to figure out how I can display a collection of images across all folders on one page.
I want to run a search through all folders and display only the images where a match occurs.
EX.
Folder 1 - Image A
Folder 2 - Image B
Folder 3 - Image A
I want a page to display only folders with image A. Thanks in advance for all your help. Still learning and love to see what you all can do.
Thank you. I’m learning so much. So this fixed my crashing problem, yet nothing comes up. It’s weird because using the same filter command on another page pulls in the correct image.
There’s another problem in your code: Using a filter returns a $files collection, so you would need to use another foreach loop within the first one to output all members of the collection.