You can create QR codes for group / class photos to photograph that will tie those group photos to the subject. And when someone is viewing their individual photos they will have to option to also view their group photos.
The group QR codes are based on some sort of data you imported with your subject data. In this example we have imported subject data that includes a teachers's name (the default Leader field). So we will create group photos based on that.

Click on the Create Group Codes under the Teacher's Name header.

You will have all the teacher's names listed that is included in the data you imported. With those names checked, click the Create Groups button.
You will now have your group QR codes created to photograph before photographing that group.

In this example, when a subject, say Hulk, views their photos, they will have a button to view the Ms Smith group photos.
1 subject in multiple groups (new with Sytist 5.3)
If a subject is in multiple groups, enter each group in the column you are creating group codes with separated with a semicolon.
For example: Team A; Team B; Team D
If you use the Pre-Registration option, you can just the multi select checkbox option for the customer to select multiple options that automatically creates the multiple group values.