displays posts photos and avatar photos only if? they have been uploaded, otherwise blan