Issue 368
enhancement: Show photo credits on heroes and cards
Back to our planOpen
enhancementfrontendpriority: medium
Problem
Since #362 media have credit, license and sourceUrl, and since #363 agent suggestions show a category's default image on heroes and cards. Nothing on the site shows the credit yet, so a photographer's or source's credit never reaches residents, against the project's rule to credit every source. Found in the independent review of #367.
Proposed fix
Show "Photo: <credit>" (linked to sourceUrl when set) under the post and event hero images, and in the image's accessible description on cards, using the media's own fields. Native first: the Media component already receives the media document.
Acceptance criteria
- Not done: A hero whose media has a credit shows it, linked when
sourceUrlis set; no credit, nothing shown. - Not done: Visual check at six widths, light and dark.
Area
frontend
Priority
medium