add localPhoto class
commit