No, that's not true; a community that runs a photo hosting service is certainly protected if some user uploads protected content, just like YouTube (under the Electronic Commerce Directive 2000/31/EC).
They would only not have protection if the copyright holder could prove the hosting community itself purposefully hosted such content. But neither would YouTube if they did the same.
They would only not have protection if the copyright holder could prove the hosting community itself purposefully hosted such content. But neither would YouTube if they did the same.