Regarding photo upload and show to particular class only, 1. Classes assigned in teacher subject division,2 Class of class teacher. 

As per Discuss with Raju sir , we ned to devlop a new configuration like we have 'Assessment.MarkEntryBasedOn'

configuration based like User Access,Class Teacher,Academic etc