I do believe this would work for all kinds of domino databases, either if you are using the names.nsf or some other picture DB. You just have to find the correct fields in the domino db you are using.
In this scenario, the Iterator is a standalone pictures DB, called pictures.nsf. The field "bc_mapping" contains an email-address of the user. This is used as the link-criteria when doing a lookup to the employee table. The Employee table then gives us the "PROF_KEY" value for that profile/employee, which I then use in the link criteria in the Photo table.