I may not have the correct terminology here but please allow me to explain what I am trying to do.
I have a view that shows pictures that users have uploaded and that require approval. I am handling approval through the Flag module (administrators flag a node to approve it).
I have created a view that shows all the unflagged nodes containing pictures that are awaiting approval.
Now, on this view, for each picture that a user has uploaded, I would like to show all the other pictures that the author has uploaded (Users are limited to uploading five pictures, so this can't get too crazy. Each picture is its own node.)
To do this, I tried creating a view display attachment that shows all the pictures uploaded by a user (limited by a Contextual filter of author: uid). I then attached this to my main view, but the contextual filter's value is not added per row. I may be misunderstanding how views attachments work; I've never used them before.
Am I configuring this wrong? Is there a different approach that I should be taking?
In short, this is what I am trying to achieve:
- The main view shows each picture (stored as an individual node) that needs to be approved.
- Next to each picture that is pending approval, I would like to show all the pictures uploaded by that user (stored as individual nodes) that have already been approved.