I am having a problem with Drupal 7 Views relationships/contextual filters.
Let me explain it with an example. I want to make a photo album.
I'm having a content type 'cat'. This content type has some fields like name, weight, etc.
I'm having a second content type 'photos'. This content type has an image field and a field named 'cats'. The field 'cats' is an entity reference to one or more nodes of type 'cat'. (There can be multiple cats on one picture).
On the node view of type 'cat' I want to show a views block with all photos that reference the current node.
And this is where I'm stuck.
I tried a multitude of combinations of relationships and contextual filters. Mostly my view didn't bring up any photos or photos not referencing the nodes.
It would be a great help for me if someone could explain me how to construct my view.
Thank you.