In brief
The homepage selects one of Joe Foley’s seven landscape photographs each day. The browser performs the selection from locally served files, so the sequence needs no daily publishing job.
Choose the photograph by Brisbane calendar day
The photograph sequence follows Brisbane calendar days and repeats weekly. The script checks the day at midnight and when a reader returns to an open tab. That avoids leaving yesterday’s image on a page which has remained open overnight.
The page includes a fixed photograph as a fallback when JavaScript is unavailable. Responsive image files give smaller screens a smaller resource, and the visible credit identifies Joe as the photographer. The originals remain separate from the web derivatives, which omit copied camera and GPS metadata.
Reapply the rotation after generation
The public enhancement pass reapplies the rotation when the site is generated. It also reapplies the separate control that saves a reader’s colour choice.
The release used a simulated Brisbane midnight to check that the selected photograph changes at the day boundary.
See also how the colour choice follows the reader between pages, or return to the homepage to see today’s photograph.