Teachers are pretty much able to use most of the material that is copyrighted if the benefit to society is greater than the benefit of the author. If you add value to the copyrighted material, then you can use it.

I would use this to have students search for pictures of content they are studying. They could also take pictures during experiments, activities, or investigations and upload them for other groups to see and provide comments.