Preview Gallery
/preview renders an HTML page listing annotated images grouped by series.
Implementation outline (handlePreview):
- Walk
output/recursively. - Select PNG files whose path includes
/annotated/. - Extract series (first path segment) and address (filename sans extension).
- Collect modification time and relative path.
- Group by series, sort each group by descending modification time.
- Render a Go
html/templatewith a client-side JavaScript filter.
Each figure shows:
- Image (square container with
object-fit: contain) - Address (EIP-55 case)
- Timestamp (mod time formatted
YYYY-MM-DD HH:MM:SS)