[PR #1570] [MERGED] feat(web): allow uploading more file types #9148

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

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/1570
Author: @michelheusschen
Created: 2/6/2023
Status: Merged
Merged: 2/9/2023
Merged by: @alextran1502

Base: mainHead: feat/more-upload-file-types


📝 Commits (3)

  • 3418647 feat(web): allow uploading more file types
  • 30db9a5 Merge branch 'immich-app:main' into feat/more-upload-file-types
  • 6eac358 fix(web): make filename extension lowercase

📊 Changes

4 files changed (+123 additions, -89 deletions)

View changed files

web/src/lib/components/shared-components/upload-asset-preview.svelte (+69 -0)
📝 web/src/lib/components/shared-components/upload-panel.svelte (+4 -80)
📝 web/src/lib/utils/asset-utils.ts (+35 -0)
📝 web/src/lib/utils/file-uploader.ts (+15 -9)

📄 Description

  • Allow uploading .heic, .heif, .dng, .3gp and .nef files from browsers that don't natively have support for those, by inferring the MIME type from the file extension. Fixes #1235
  • Changed the way upload previews are shown. It will try to display all image types and when an error occurs a fallback image (the Immich logo) is used in the uploading notification.

🔄 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/1570 **Author:** [@michelheusschen](https://github.com/michelheusschen) **Created:** 2/6/2023 **Status:** ✅ Merged **Merged:** 2/9/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/more-upload-file-types` --- ### 📝 Commits (3) - [`3418647`](https://github.com/immich-app/immich/commit/34186473368a7da3fe6d1bbc803b8e012219d0b5) feat(web): allow uploading more file types - [`30db9a5`](https://github.com/immich-app/immich/commit/30db9a5423c4e11d0135f46ace825bdc6624fe1b) Merge branch 'immich-app:main' into feat/more-upload-file-types - [`6eac358`](https://github.com/immich-app/immich/commit/6eac358962643b924534e12123fb897396008500) fix(web): make filename extension lowercase ### 📊 Changes **4 files changed** (+123 additions, -89 deletions) <details> <summary>View changed files</summary> ➕ `web/src/lib/components/shared-components/upload-asset-preview.svelte` (+69 -0) 📝 `web/src/lib/components/shared-components/upload-panel.svelte` (+4 -80) 📝 `web/src/lib/utils/asset-utils.ts` (+35 -0) 📝 `web/src/lib/utils/file-uploader.ts` (+15 -9) </details> ### 📄 Description - Allow uploading .heic, .heif, .dng, .3gp and .nef files from browsers that don't natively have support for those, by inferring the MIME type from the file extension. Fixes #1235 - Changed the way upload previews are shown. It will try to display all image types and when an error occurs a fallback image (the Immich logo) is used in the uploading notification. --- <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:59:21 +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#9148