Skip to main content

Module story

Module story 

Source
Expand description

Titles for trips, days out, memories and collages, written from what the library actually knows: dates, places, named people and earlier visits. Nothing is guessed; when a detail isn’t known the title simply leaves it out.

Structs§

Facts
What a set of photos has in common.
Place
Story
A title plus a short line of context under it.

Constants§

SEPARATOR
Album suggestions store the title and its context in one column.

Functions§

date_range
“Oct 15 – 19, 2023”, “Dec 30, 2023 – Jan 2, 2024”, “Jun 11, 2022”.
gathering
People together over a day or two: “Meera, Dev and three others”, “Five people, one Saturday”.
looking_back
“Three years ago today” grows a place or a person when one stands out: “Three years ago today, in Bern”.
moment
A day or an evening: “Christmas Day with Meera”, “A Sunday afternoon in Paris”, “A Saturday evening at home”.
month_back
A month from an earlier year: “Bern, October 2023”, “October 2023 with Meera”, or “October 2023, a look back”.
month_name
span_label
When a set of photos was taken, briefly: “Dec 2023”, “Oct – Dec 2023”, “2019 – 2023”.
spelled
“3 years ago today” → “Three years ago today”; “1 year ago” → “A year ago”.
split
Split a stored suggestion title back into title and context.
trip
A trip away from home: “Christmas in Goa”, “Paris to Bruges”, “First time in Switzerland”, “Back in Goa”, “Autumn in Bern”.
year_back
A whole year: “2023: Bern, Goa and more” or “Your 2023”.