Community members are urged to think before posting pictures of children online, as sharing images without permission may break the law and put children at risk.