I’ve written a little snippets that creates a banner from images I supply. It would be nice if it could gather the images from a folder automatically. I would like to do something like
foreach($assets/images->images() as $image)…
(i.e. analogous to
foreach($page->images() as $image)…)
I’ve found something about Assets and Media classes, but wasn’t quite sure if this is what I’m looking for.
Any hints would be appreciated.
Thanks