What should be taken into account when publishing photos and images?
This is a general note - there is no legal claim.
The following legal framework applies to the creation of a photo and its publication:
Right to your own image
Those depicted must agree before a photo is taken (comply with the legislation of your country). Care is of the utmost importance, especially when photographing minors. In this case, legal guardians must agree.
Those pictured (or their representatives) must also be informed about the use of the photos.
The size of the group, as is often assumed (“I can take photos of 10 or more people anyway”), doesn’t play a role! However, if everyone looks into the camera and smiles, agreement can be assumed.
Recognizing a person in a photo does not necessarily have to be limited to recognizing their face. For example, a one-time tattoo on the neck is sufficient.
Copyright
The photographer has the intellectual property rights (copyright) and is therefore entitled to be mentioned by name in every publication.
When using third-party material, especially from companies (including logos), news agencies and image databases, you must carefully mention the copyright and, if necessary, consult about publication on your site.
Always list the copyright holder in the “Description” field below the image.
Detailed informations about copyright here ...
Practical guide to data protection.