أحسن الله إليكم Is it permissible to be in a school photo with other male students (no female students) but there is a female teacher? What would one do in such a situation?

Ustadh AbdulAziz al-Haqqan
Excuse yourself from it, that's better in sha'a Allah.