In an assets folder, I've added a relate to a collection (job types). In that job type, I'd like to display only the photos (assets) that are related to that job type entry. What I'm looking for is something like this:

{{if relate:job_type:id == page.id}}
// output matching images
{{/if}}

But can't seem to get the syntax right or find anything very helpful. Please help.

Answered by Ryan Hayden! Go to answer.