add pure json view for phots