From b47fdda4fe1bf6fe90d0ba30eedac435dde7c034 Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Tue, 12 May 2026 14:45:00 +0000 Subject: Add photo counts, EXIF details, video duration badges, slideshow launcher UI - Album cards show recursive photo count (bubbles up through sub-albums). - Lightbox info panel shows camera, aperture, shutter speed, and ISO; update.rb now extracts and stores these EXIF fields. - Video thumbnail cards show a duration badge (e.g. "1:23"). - Slideshow launcher redesigned: button on its own line, with Shuffle / Full screen / Interval options on a second line, all inside a rounded border to make the grouping clear. - Fixed album-actions alignment so Interval sits level with the checkboxes. Co-Authored-By: Claude Sonnet 4.6 --- public/js/album.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'public/js') diff --git a/public/js/album.js b/public/js/album.js index c3f775f..3fca29b 100644 --- a/public/js/album.js +++ b/public/js/album.js @@ -45,6 +45,10 @@ function lbBuildInfo(e) { rows.push(['Date', d.toLocaleString(undefined, { dateStyle: 'medium', timeStyle: 'short' })]); } if (e.width && e.height) rows.push(['Dimensions', `${e.width} × ${e.height}`]); + if (e.camera) rows.push(['Camera', e.camera]); + if (e.aperture) rows.push(['Aperture', e.aperture]); + if (e.shutter) rows.push(['Shutter', e.shutter]); + if (e.iso) rows.push(['ISO', e.iso]); document.getElementById('lb-info-dl').innerHTML = rows.map(([k, v]) => `
${k}
${v}
`).join(''); document.getElementById('lb-info-panel').classList.add('hidden'); -- cgit v1.2.3