No need to be a smartass. What thought do you think I'm trying to convey here?
Perhaps you mean that the difference is that a fresco is art, but a photograph can't be art? In that case I imagine many photographers would disagree. I also imagine that you would disapprove of naked children on a fresco if that fresco were created today.
My most charitable interpretation would be that the difference has something to do with cultural relativism. That the frescos that have existed for hundreds of years are acceptable because they were made in a time when not all nudity was considered sexual, kind of like we don't hate the ancient Greeks for pederasty even though it would be frowned upon in modern times. But now we know it's wrong and child abuse. If that is true then why don't we point to these frescos as a dark point in human history, like with slavery?
I'm sure cultural relativism plays a part, too. If something looks like a renaissance painting people are primed to accept it as art.