I think neither analogy is correct. We're using macro metaphors (real world things at human time and spatial scales) to explain microscopic phenomena that may not correspond to anything that we find familiar.
Photons aren't like particles nor waves. Particles and waves are like photons. And, as with all similes, they fail when you inspect too closely.