Posting pictures of your kids on Facebook? Think twice.

You might think it’s cute to snap a photo of your toddler running around in a playground or having a temper tantrum, and then posting it on social media.

But did you ever think it might be a mistake, or even illegal?

The French government earlier this year warned parents to stop posting images of their children on social media networks.

Under France’s rigorous privacy laws, parents could face penalties of up to a year in prison and a fine of €45,000 ($46,456) if convicted of publicising intimate details of their children without their consent.