Install

Works with Drupal: ^11.3

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 176.59 KB
MD5: 27b3dde011236bb549f9e45b45e4f716
SHA-1: 0d2be1e3ce30389e3de14f42a6711d09d3f4ed8c
SHA-256: d10006b175a2361c8043a59cf3fb749182b47a2f5cb046ed86db794c02a725a7
Download zip 292.56 KB
MD5: 9677d3cec8c5cb5da3308e1e3221fe79
SHA-1: 1f4e7dfbfbe408956e37731a91263e095d334e50
SHA-256: 2cb22c9098f085e7f0409894b9515ffd798864ad81772b9719876acd07257a07

Release notes

First alpha release of Embedded Attribution. It writes the photographer, copyright and license into every image style derivative, as IPTC, XMP and EXIF metadata, so that the credit travels with every downloaded copy.

Alpha: try it on a test or staging site, not yet on a production site. Please report what you find in the issue queue.

What it does

  • Copies the maker, rights, source, identifier and licence link of a JPEG original into its JPEG, WebP and AVIF derivatives, including Drupal 11's own AVIF image styles. What the original says always wins.
  • Fills what the original lacks from fields you choose per media type or content type: text, link and Attribution fields. Only what an anonymous visitor may view is used.
  • Writes the image's alt text (IPTC Alt Text (Accessibility)), a credit line and a licensor URL, the fields Google Images reads.
  • By default removes every other piece of metadata from derivatives (GPS position, camera serial number, dates, owner), which ImageMagick otherwise copies from the original. The original file is never changed.
  • Refreshes derivatives when the fields change, and offers a refresh after a change of the settings or an update.
  • Shows on the edit form what would be written and what each derivative carries, read from the file.
  • Writes before C2PA Sign signs a derivative, so the attribution is inside the signature.

Requirements

Drupal 11.3 or later, PHP 8.3 or later. Media and Attribution are optional.

Tested

Unit, kernel and exiftool 13.55 test suites on Drupal 11.3 and 11.4, with GD and with ImageMagick; the drupal.org pipeline runs all three.

Known limitations

  • Only JPEG originals; PNG and GIF originals are left alone.
  • Only image style derivatives: images pasted into body text and downloads of the original are not covered.
  • A change of permissions that is not a save of the content is not seen; use the refresh button on the settings page.

AI-Assisted: Yes. I used an AI coding assistant (Claude) to write the code, the tests and these notes. I reviewed, ran and checked everything myself.

Created by: maurice1969
Created on: 15 Oct 2026 at 11:42 UTC
Last updated: 17 Oct 2026 at 12:16 UTC

Other releases