Commit Graph

11 Commits

Author SHA1 Message Date
Alan Grainger 7a20c72f77 WIP 2026-10-06 14:57:10 +13:00
Alan Grainger 0ae17abdc0 Tidy up WebP download filename fix #297 2026-10-05 09:12:34 +13:00
opencode 2a99258278 Fix download file extensions when Immich serves WebP previews
With maxDownloadQuality=preview and Immich generating WebP previews, the
zip entries and per-asset downloads were named .jpg while carrying WebP
bytes. Previews, converted fullsize images and transcodes follow the
server's image settings, so derive the extension from the upstream
content-type for every non-/original endpoint, via a shared
servedMimeFrom() in gallery/sizing.ts.
2026-10-05 09:12:34 +13:00
Alan Grainger 16ba140766 Size motion photo clip to the still and make the toggle sticky #286 2026-09-17 21:45:55 +12:00
Alan Grainger c3dccf4d25 Merge pull request #286 from trecoool/feat/motion-photos 2026-09-17 21:34:22 +12:00
Alan Grainger 3701d4e92c Add no-store cache header for zip downloads 2026-09-04 23:27:28 +12:00
Alan Grainger ff45919107 Update docs 2026-09-04 12:55:08 +12:00
Alan Grainger 9c72829c4f #289 stream downloads rather than staging to temp disk 2026-09-04 11:20:45 +12:00
trecoool 4021c66cec #200 motion photo (Live Photo) support
Show a badge on the gallery thumbnail and a lightbox toggle that plays the
photo's clip over the still, matching Immich's own viewer.

The clip is a hidden Immich asset, but the existing share key already
authorises it - checkSharedLinkAccess whitelists each shared asset's
livePhotoVideoId - so no new upstream access is involved. The video route
accepts a clip id only when a shared still points at it.

Both enumeration paths already carry the field (AssetResponseDto for
individual shares, TimeBucketAssetResponseDto for album buckets), so album
shares cost no extra upstream requests.

Gated by ipp.motionPhotos (default true). The clip is preload="none" and is
only fetched when a visitor presses the toggle.
2026-08-24 14:35:28 +02:00
Alan Grainger 2a5580e5a2 #281 refinements: transcoded filename extensions, allowDownload:2 caveats in docs 2026-08-20 07:35:49 +12:00
Alan Grainger 6b0b193961 Docs WIP 2026-07-24 11:58:29 +12:00