I have a fairly simple site that includes Organic Groups 7.x.2. Each site user ("member") also have a Profile2 profile page that I call the 'Membership Profile' for each site member/user. No different than what you might see on any social networking site.
I'd like to give members the ability to upload photos so that whenever another member views their profile, they see that profile owner's photos.
I created a custom content type named "Member Photo" so that members can upload their photos. That works fine.
I also added a "Latest Member Photos" block to the Member Profile page so that whenever a member uploads a photo it will show in that block. I have it working now so that it shows ALL uploaded photos of type "Member Photo", but I need it to only show the photos uploaded by the member whose profile is being viewed at that time. So if I'm looking at "James"'s profile page, it should only show James's uploaded photos.
I tried adding a Contextual Filter using the Content: Author UID field set to get the User from the URL but that didn't work.
So I then added the Profile relationship and tried adding contextual filters based on Profile: UID and Profile: Author, but still no luck. Any ideas?