How old is too old to post pictures of your child without clothes on on social media?

Recently a friend on Facebook posted pictures of her 4 or 5 year old daughter in only her underwear. This really rubbed me the wrong way. I feel like that's just far too old to be having those pictures added to social media. What is your opinion on when is too old for naked pics to be added to social Media?