I was wondering if it is possible to use filters on assets containers.

Statamic Docs about Assets Containers

This part is working great:

{{ assets container="projects" }}
    <img src="{{ url }}" style="width: 100%" />
{{ /assets }}

So her is what I did: - created a fieldset: "service_photo" - title - collection="service" - created a container - uploaded a few images - added some data in the containers fieldset

This is what I want to achieve:

{{ assets container="projects" services:contains={ id } }}
    <img src="{{ url }}" style="width: 100%" />
{{ /assets }}

I have a lot of projects that I want to showcase. In my project collection I create a new project. I fill in a title, context, ect. and add a few images. While adding the images I "tag" different services that where "used" during this project. That can be for example: bathrooms, kitchens or painting.

So with that collection I am generating different pages. Works great!

Now I want to create services pages. Also here creating a collection. Also works great. But now I don't want to manually add the images that I added to the project page to the different services used. I want Statamic to automatically filter the correct images for the service that has been added via the container fieldset.

I have got something simular working between different collections but couldn't get it to work with assets containers.

Another feature I can not get to work a the pagination like collections. When adding the different parameters I can limit the assets on total visible photos but is unable to get the pagination.

Can someone help?

I it is not clear what I want to achieve, please let me know.

Regards, Ian