The things that babies and children do vs. the things that adults do are not comparable. Leaving aside, it's darn hard to reliably recognize people from their high school photos when looking at their older selves and next to impossible for babies.
Further, if that parental photos and publishing those photos somehow violates the child's rights, I would say that children have virtually no rights and what rights they do have their parents can exercise on their behalf, regardless of the child's opinion.
Even further, what plausible harm could come from a picture of a kid in a tub, for example?