If the painting itself is old enough to be out of copyright, then a photograph of it that is just a photograph of the work itself is not eligible for copyright protection. At least that's my understanding. It hasn't crossed the threshold of being a new creative work. But IANAL.
Is it possible that someone stole it and uploaded it to a site like Flickr claiming it was public domain? I don’t know how this site’s images were collected.