prevent a photo of a deleted publication to be viewed