Theming image.html.twig What name do I have to give to my image.html.twig so the template only being used in content type "project" because I need to add class to an &lt;img&gt; tag.
I already tried


image--node--field-afbeeldingen--project.html.twig
image--node--field-afbeeldingen.html.twig
I'm not sure about overriding the &lt;img&gt; tag itself, but for your approach I would recommend overriding the field template. Assuming your field is named field_afbeeldingen, you can create a template called field--field-afbeeldingen.html.twig.

Within there, you could manually render your &lt;img&gt; tag as needed, with whatever additional classes required.