How can I associate a photo with a particular user? For example, I have my site set up to where only members of certain user groups can view full sized photos and comment on them, however all members may submit photos. What I would like to do is set it so that the user who submitted the photo can view their photos and the comments left for them, but not be able to view the photos they did not post, unless they have joined that particular group.
Joe is a member of Group 1. Group 1 can view all full sized photos and leave comments.
Bob is a member of Group 2. Group 2 can only submit photos, but cannot view the full sized photos or leave comments.
Bob submits a photo and Joe comments on it. Under the current group set up, Bob is unable to see the comment left by Joe.
How can I set in showphoto.php so that Bob's userid from the logon can be be referenced to the userid from the photo so that access can be allowed to view even though it is not a part of the group.
Something similar to this
Content visible to verified customers only.