I don't disagree with the rest of your comment but this is not true. Technically an employer cannot legally require you to attach a picture to your application or judge you any differently if you do not attach one, since the AGG passed in 2006 – although I don't doubt that it plays out different in practice sometimes.
I remember even being told in Highschool though that we shouldn't attach a picture to job applications, since it's generally not done anymore to avoid discrimination.