The children enjoy something funny as they prepare to have their photo taken.
children laugh while taking a photo at school
Children having their photo taken does not imply that the children are at school.
(-x)
(-x)