If the pictures are illegal your friend shouldn't have them in the first place, so based on that alone it is not ok. By legal definition, a child...
Separate names with a comma.