Skip to content

feat: add IPTC, EXIF and XMP metadata attributes to image elements#951

Draft
therobrob wants to merge 4 commits into
mainfrom
669-add-iptc-metadata
Draft

feat: add IPTC, EXIF and XMP metadata attributes to image elements#951
therobrob wants to merge 4 commits into
mainfrom
669-add-iptc-metadata

Conversation

@therobrob
Copy link
Copy Markdown
Member

@therobrob therobrob commented May 12, 2026

  • added EXIF and IPTC metadata support for artist and CopyrightNotice fields.
  • added the information to figcaption
  • modified intercity direct map – apparently, the metadata doesn't work with WebP, so I uploaded it as a JPG for now.

ToDos:

  • add an note to archetypes.
  • check webp support
  • our webp images seem to have no copyright information anymore. We have to restore it / add it manually again..

@therobrob therobrob linked an issue May 12, 2026 that may be closed by this pull request
@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 28e8b59
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/6a05d19fb2cb150008368f25
😎 Deploy Preview https://deploy-preview-951--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@lenderom
Copy link
Copy Markdown
Member

lenderom commented Jun 3, 2026

From the review of @therobrob and @lenderom :
It's a nice technical implementation however it doesn't work with .webp. So it would be a step back from our perspective if we change every picture to jpg just to use the metadata. For pictures at the end of the page or news articles isn't a real need for this.

@MoritzWeber0
Copy link
Copy Markdown
Member

From the review of @therobrob and @lenderom :
It's a nice technical implementation however it doesn't work with .webp. So it would be a step back from our perspective if we change every picture to jpg just to use the metadata. For pictures at the end of the page or news articles isn't a real need for this.

As far as I know, Git also has no proper handling of metadata changes. It's probably treated as a reupload of the file to the repository, which is inefficient.

We thought of sidecar json files before that contain the metadata, maybe that's still an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add IPTC Metadata

3 participants