Photo capturing mechanism working.