Hi there, I have some images inside my page.
Each image is associated with a metadata file like this:
img01.jpg
img01.jpg.meta.yaml
img02.jpg
img02.jpg.meta.yaml
img03.jpg
img03.jpg.meta.yaml
Each yaml file has something like this for example:
description: a test description
taxonomy:
tag: [blue,red,green]
How can I loop and filter only the "red" tagged images for example ?
I'm trying this on my template, but it's not working
{% for myimage in taxonomy.findTaxonomy({'tag':['red']}) %}
<li>{{ myimage.description }}</li>
{% endfor %}
I also tried using page.media.images but no luck.
Any tip ?
Cheers