Added support to store a pupil photo