Skip to content

feat: add EXIF info overlay to lightbox#7

Open
cwygoda wants to merge 1 commit into
mainfrom
feat/exif-info-overlay
Open

feat: add EXIF info overlay to lightbox#7
cwygoda wants to merge 1 commit into
mainfrom
feat/exif-info-overlay

Conversation

@cwygoda
Copy link
Copy Markdown
Owner

@cwygoda cwygoda commented Dec 8, 2025

Summary

  • Adds an EXIF info overlay to the lightbox with camera, lens, settings, date, artist, copyright, and GPS location
  • Info button (i) appears only when EXIF data is available, keyboard shortcut 'i' toggles the overlay
  • GPS coordinates displayed in deg/min/sec format as clickable links to Google Earth (configurable via .zone5.toml or PUBLIC_ZONE5_MAP_URL_TEMPLATE env var)
  • Settings displayed in sentence-like format with 35mm equivalent focal lengths (sensor-size as hover title)
  • Light blurred transparent background with dark card for good contrast against any image

Test plan

  • Verify info button appears in lightbox only when EXIF data exists
  • Press 'i' key to toggle overlay, Escape closes overlay first then lightbox
  • Check settings display format: "40mm, at ƒ/7.1, 1/100s, ISO 100"
  • Hover over focal length to see sensor-size value when different from 35mm equivalent
  • Click GPS coordinates to open Google Earth at the location
  • Verify overlay styling is readable on both light and dark images

🤖 Generated with Claude Code

@cwygoda cwygoda force-pushed the feat/exif-info-overlay branch 10 times, most recently from 71f56e3 to 3c6ba26 Compare December 8, 2025 22:44
Add an info button (i) to the lightbox that displays image EXIF metadata:
- Camera make/model and lens
- Capture date and time
- Exposure settings (focal length, aperture, shutter speed, ISO)
- Artist and copyright
- GPS coordinates with configurable map link

Configuration options:
- mapUrl in .zone5.toml for default map provider
- PUBLIC_ZONE5_MAP_URL_TEMPLATE env var for override
- mapUrl prop on Zone5Provider for programmatic control
- Default: Google Earth

Keyboard shortcuts:
- Press 'i' to toggle info overlay
- Escape closes overlay first, then lightbox

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cwygoda cwygoda force-pushed the feat/exif-info-overlay branch from 3c6ba26 to b3ec68c Compare December 8, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant