I need to filter an assets folder using the relate tag

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

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

Answered by Ryan Hayden!
>>>>>>> Answered <<<<<<<
3 Replies