add the feature for public photos