Copyright doesn't care that it's for educational purposes as it doesn't care that in this case they couldn't ask for permission because they didn't have any idea who the author of these photographies is or who the copyright owner is. 