From b1ffa9050e63329ac72cfc9cca5b44800984e34c Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Sat, 9 May 2026 15:50:10 +0000 Subject: Add info overlay to lightbox showing photo metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tap "ℹ Info" in the caption bar to toggle a semi-transparent panel at the bottom of the image showing filename (if different from title), date taken, and pixel dimensions. Panel resets to hidden on each photo change. Button is hidden automatically when no metadata is available. Width/height are now included in the ENTRIES payload. Co-Authored-By: Claude Sonnet 4.6 --- app.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.rb') diff --git a/app.rb b/app.rb index f58a99d..8667471 100644 --- a/app.rb +++ b/app.rb @@ -94,6 +94,8 @@ helpers do visible: meta.fetch('visible', true), type: media_type_for(name), taken_at: meta['taken_at'], + width: meta['width'], + height: meta['height'], } end -- cgit v1.2.3