Skip to content

feat: Show metadata in duplicates utility#21342

Closed
ollioddi wants to merge 2 commits intoimmich-app:mainfrom
ollioddi:feat/duplicate-metadata
Closed

feat: Show metadata in duplicates utility#21342
ollioddi wants to merge 2 commits intoimmich-app:mainfrom
ollioddi:feat/duplicate-metadata

Conversation

@ollioddi
Copy link

Description

This PR introduces an enhancement to the duplicates utility, by allowing the user to view metadata of the assets in a duplicate group.

It makes it easier to pick the right photo when resolving duplicates by showing key metadata for each asset. You can choose which fields to display and whether to show all selected fields or only the ones that differ between assets.

Picking the wrong copy (e.g., one with a newer file-created date) can misplace photos on the timeline. Seeing the relevant metadata, and especially dates, helps ensure the correct asset is kept. It also avoids loosing metadata in the process.

Whats changed:

  • Metadata picker modal to choose which fields to show (file, EXIF, and location).
  • Toggle to switch between:
    • Show all selected metadata for each asset, or
    • Only show fields that differ across the assets (reduces noise).
  • Inline display on each asset card during duplicate review.
  • English translations for the new toggle and hints.

How Has This Been Tested?

I've tested on my rather large collection of duplicates :-) It really is a nice feature because it allows me to keep what i want. The "diff" option is also very handy, as to not overload the user by showing irrelevant information.

Screenshots (if appropriate)

Screenshot 2025-08-27 173145

After and before below (I apologize for the wrong order of the side-by-side screenshots)

Screenshot 2025-08-27 173258 Screenshot 2025-08-27 173347

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.
  • I have confirmed that any new dependencies are strictly necessary.
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code
  • All code in src/services/ uses repositories implementations for database calls, filesystem operations, etc.
  • All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services/)

@bo0tzz
Copy link
Member

bo0tzz commented Aug 28, 2025

Closes #14844

@bo0tzz bo0tzz changed the title Feat: Show metadata in duplicates utility feat: Show metadata in duplicates utility Aug 28, 2025
@alextran1502 alextran1502 self-assigned this Nov 15, 2025
@alextran1502
Copy link
Member

Thank you for the reminder, can you help rebase and clean it up so it fits with the new UI, then we can work together to get this merged

@ollioddi
Copy link
Author

@alextran1502 had time now to revisit. Created #26328 since my fork was ~2300 commits behind.

I'd very much like feedback on the UI.

@ollioddi ollioddi closed this Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants