Skip to content
SprecherEast
Issue 407

Photo credits on page heroes and media blocks

Back to our plan
Not planned
enhancementfrontendpriority: medium

Problem

#405 shows photo credits under event and post heroes. Images placed elsewhere still show no credit: CMS page heroes (highImpact, mediumImpact) and media blocks in page layouts and in rich text. A CC BY or CC BY-SA photo used there would go uncredited, which those licenses don't allow.

Proposed fix

Render the shared ImageCredit (src/platform/ui/ImageCredit.tsx) wherever a media item is shown at full size: the CMS heroes and the media block (next to its caption).

Acceptance criteria

  • A credited image in a page hero or a media block shows "Photo: <credit>, <license>" with the same links as on event pages.
  • Images without a credit look as they do today.
  • Checked at the six widths in light and dark.

Area

frontend

Priority

priority: medium

See it on GitHub, opens in a new tab