At some point prior to the appointed date, the school will
issue a note to advise pupil - and parents, that the photographer
will be coming and make everyone aware of the acceptable dress
code. This will be school uniform as specified or, in a non-uniform
school they will probably request something smart but casual.
You will also have a very precise time to attend for the
photograph, and depending on the size of the school there
could be a tight schedule.