[PR #4040] [MERGED] feat(web): load original image when zooming #10215

Closed
opened 2026-02-05 14:17:57 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/4040
Author: @lmichelin
Created: 9/9/2023
Status: Merged
Merged: 9/12/2023
Merged by: @alextran1502

Base: mainHead: load-original-image-on-zoom


📝 Commits (2)

  • 60b6421 feat(web): change max zoom from 4 to 10
  • 5721755 feat(web): load original image when zooming

📊 Changes

2 files changed (+24 additions, -5 deletions)

View changed files

📝 web/src/lib/components/asset-viewer/photo-viewer.svelte (+12 -5)
📝 web/src/lib/utils/asset-utils.ts (+12 -0)

📄 Description

Description

This PR allows to load the full image when zooming using the mouse wheel or the zoom button.

How Has This Been Tested?

  • upload a big image
  • click on the image thumbnail to view it
  • zoom using the mouse wheel
  • the original image is being downloaded
  • when download is complete, the original image is shown instead of the preview

Screenshots (if appropriate):

Animation

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable

🔄 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/4040 **Author:** [@lmichelin](https://github.com/lmichelin) **Created:** 9/9/2023 **Status:** ✅ Merged **Merged:** 9/12/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `load-original-image-on-zoom` --- ### 📝 Commits (2) - [`60b6421`](https://github.com/immich-app/immich/commit/60b6421a9a6d58d01b13ed8896904c2155a0accc) feat(web): change max zoom from 4 to 10 - [`5721755`](https://github.com/immich-app/immich/commit/57217554b5a9b6e3a9e1863204598d70ded5484d) feat(web): load original image when zooming ### 📊 Changes **2 files changed** (+24 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `web/src/lib/components/asset-viewer/photo-viewer.svelte` (+12 -5) 📝 `web/src/lib/utils/asset-utils.ts` (+12 -0) </details> ### 📄 Description ## Description <!--- Describe your changes in detail --> <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> This PR allows to load the full image when zooming using the mouse wheel or the zoom button. ## How Has This Been Tested? <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> - upload a big image - click on the image thumbnail to view it - zoom using the mouse wheel - the original image is being downloaded - when download is complete, the original image is shown instead of the preview ## Screenshots (if appropriate): ![Animation](https://github.com/immich-app/immich/assets/33673240/585b7607-4312-40d4-8e07-b899556f994a) ## Checklist: - [x] I have performed a self-review of my own code - [x] I have made corresponding changes to the documentation if applicable --- <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 14:17:57 +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#10215