[PR #897] [MERGED] feat(server/web): download entire album as zip archive #8807

Closed
opened 2026-02-05 13:53:33 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/897
Author: @fyfrey
Created: 10/30/2022
Status: Merged
Merged: 10/30/2022
Merged by: @alextran1502

Base: mainHead: dev/download-album


📝 Commits (3)

  • faa2ca6 feat(server/web): download entire album as zip archive
  • 6a77445 fix: remove duplicate API call
  • faab237 disable ZIP compression (images are already compressed)

📊 Changes

12 files changed (+695 additions, -14 deletions)

View changed files

📝 mobile/openapi/README.md (+1 -0)
📝 mobile/openapi/doc/AlbumApi.md (+48 -0)
📝 mobile/openapi/lib/api/album_api.dart (+48 -0)
📝 server/apps/immich/src/api-v1/album/album.controller.ts (+11 -0)
📝 server/apps/immich/src/api-v1/album/album.service.ts (+31 -4)
📝 server/immich-openapi-specs.json (+1 -1)
📝 server/package-lock.json (+425 -7)
📝 server/package.json (+2 -0)
📝 web/package-lock.json (+5 -2)
📝 web/package.json (+1 -0)
📝 web/src/api/open-api/api.ts (+67 -0)
📝 web/src/lib/components/album-page/album-viewer.svelte (+55 -0)

📄 Description

closes issue #543

User can download an entire album on web as a ZIP archive.

Added new API endpoint /album/:albumId/download

The archive is created and streamed on-the-fly without writing to disk or buffering everything into memory. This allows to download huge albums without issues.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/897 **Author:** [@fyfrey](https://github.com/fyfrey) **Created:** 10/30/2022 **Status:** ✅ Merged **Merged:** 10/30/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `dev/download-album` --- ### 📝 Commits (3) - [`faa2ca6`](https://github.com/immich-app/immich/commit/faa2ca6e96c9aaaca5987504ebf2b45956eec16c) feat(server/web): download entire album as zip archive - [`6a77445`](https://github.com/immich-app/immich/commit/6a7744515fdb47f661bdaa9aedfe48e83b6e37a2) fix: remove duplicate API call - [`faab237`](https://github.com/immich-app/immich/commit/faab2371ee49f8e952628d50fb98e41ee7eb5c8f) disable ZIP compression (images are already compressed) ### 📊 Changes **12 files changed** (+695 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `mobile/openapi/README.md` (+1 -0) 📝 `mobile/openapi/doc/AlbumApi.md` (+48 -0) 📝 `mobile/openapi/lib/api/album_api.dart` (+48 -0) 📝 `server/apps/immich/src/api-v1/album/album.controller.ts` (+11 -0) 📝 `server/apps/immich/src/api-v1/album/album.service.ts` (+31 -4) 📝 `server/immich-openapi-specs.json` (+1 -1) 📝 `server/package-lock.json` (+425 -7) 📝 `server/package.json` (+2 -0) 📝 `web/package-lock.json` (+5 -2) 📝 `web/package.json` (+1 -0) 📝 `web/src/api/open-api/api.ts` (+67 -0) 📝 `web/src/lib/components/album-page/album-viewer.svelte` (+55 -0) </details> ### 📄 Description closes issue #543 User can download an entire album on web as a ZIP archive. Added new API endpoint `/album/:albumId/download` The archive is created and streamed on-the-fly without writing to disk or buffering everything into memory. This allows to download huge albums without issues. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:53:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8807