#339 An optional image for a timeline, shown above its title and on its card
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#339
- issue
- state:closed
Let a timeline's owner designate an image that represents the timeline: - Set it in the timeline's settings (an uploaded image, using the existing image storage in `docs/images.md`, or a link to an image), with alt text; remove or replace it any time. - Shown above the title when the timeline is viewed (the timeline page and the reader's header), and on its card wherever timelines are listed (dashboard, profiles, search results, comparisons). - Also used as the link preview (`og:image`/Twitter card) and in the oEmbed response when set. - Stored with the timeline's metadata so exports (`.ochx`) and forks keep it; covered by the same content rules and moderation as other images, and by the content security policy. - Sensible sizing: cropped to a fixed aspect ratio on cards, lazy-loaded, with a placeholder when there is none. Done when: an owner can set, change and remove the image through the web UI and the API (`PATCH /api/timelines/{id}/settings` or the document), and it appears in all the places above, with tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/339
Related
- #360 Index moments and durations individually: entity sitemaps and structured data (#335)
- #362 A timeline's own image: settings, cards, previews and oEmbed (#339)
- #363 The timeline browser searches in place, with better cards (#338)
- #399 Descriptive page titles and a preview image for shared links
- #420 A timeline can open separated by default, by tags or by relationships (#416)
- Merge pull request #362 from openchronology/feat/339-timeline-image
- A timeline's own image: settings, cards, previews and oEmbed (#339)
- The timeline browser searches in place, with better cards
Open #339 An optional image for a timeline, shown above its title and on its card in the timeline