Taking your child’s passport photo yourself can save you a lot of time, stress, and money, if you do it right.  The rules for all passport photos are the same, with no special exceptions for infants or toddlers.
A passport photo must comply with these requirements:

The photo must be less than six months old.
The photo must [...]