How can I attach a view for each row of another view? 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.
1) Viewfield is a good solution.

Views attachment attach to a views display (Page, Block etc) not to each row.

So, first remove the Contextual filter uid.

Then add one more field, the flag of the node. Then you will have User_Name, Node Image, Flag and each row will represent a node.

2) Another option is to use the Views_Merge_Rows. In the Merge Rows settings you have to set the Merge Options for the User Name field as "Use the values of this field as filter" and uncheck the "Exclude this field from display". For the other fields select the "Use the first value of this field".

3) If you don't want to use a contributed module use the "Group results together" on the Format display settings. Group by user name and then Exclude from display the User Name field.