Commit Graph

3 Commits

Author SHA1 Message Date
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 3701d4e92c Add no-store cache header for zip downloads 2026-09-04 23:27:28 +12:00
Alan Grainger 9c72829c4f #289 stream downloads rather than staging to temp disk 2026-09-04 11:20:45 +12:00