dev: LeafPhotoViewController work fine now

offline module must reimplement