It is not illegal to post a photo of someone on the internet without their permission if the person consented to the photo being taken or didn't have a reasonable expectation of privacy. I can stand in a public place, take pictures of anyone going by, and post them in private forums, public forums, or whatever kind of forum. There is no reasonable expectation of privacy in a public place.