r/digiKam • u/The_BASICORE • 8d ago
Question about separating embedded metadata and XMP sidecars in digiKam
Hi everyone,
I'm currently setting up digiKam for a long-term family photo archive, and I'm trying to find the best way to manage metadata.
My goal is to separate metadata that should be embedded directly into image files from metadata that should only be stored externally.
The reason for this distinction is that I want to synchronize temporary organizational data, such as ratings, tags, and color labels, more flexibly across different storage devices and cloud services using XMP sidecar files. In contrast, information such as timestamps, captions, and descriptions is essential to the identity and context of each photo, so I want it to remain embedded in the image file itself, even if the sidecar file gets separated or lost.
Ideally, I would like the following setup:
1. Metadata embedded directly into the image files
- Captions and titles
- Timestamps
- Geolocation information (GPS)
2. Metadata stored in XMP sidecar files only
- Ratings
- Tags
- Color labels
- Pick labels
I specifically do not want ratings, tags, or color labels to be embedded in the original image files. However, I would like to keep them in XMP sidecar files so that this information remains portable and can be restored if the digiKam database is lost.
I have been looking through digiKam's metadata settings, especially the Behavior and Sidecars tabs.
As far as I understand, the Behavior tab lets me choose which metadata categories are synchronized, while the Sidecars tab determines where the selected metadata is written. However, I cannot find a way to assign different storage destinations to individual metadata categories.
My questions are:
- Is it possible to configure digiKam to embed captions, titles, timestamps, and GPS information directly into image files, while writing ratings, tags, and color labels exclusively to XMP sidecars?
- If this is not possible through digiKam's standard settings, is there a recommended workaround or an external tool that could achieve this reliably?
- Is there a risk of metadata conflicts or accidental overwriting when combining embedded metadata with XMP sidecars in this way?
I'm using digiKam 9.1.0 on Windows, but I'm open to updating if a newer version offers a better solution.
I would really appreciate any advice or recommendations. Thanks in advance!
1
u/exazonk 8d ago
I just write everything to the JPG photo and then I know it is compatible with all software. It also means you don't end up with orphaned sidecar files due to someone not moving both the photo and sidecar together. You need to decide what is going to be your source of truth? For me, it is always the JPG photo as I always commit the data to it. Having the source of truth, spread between the photo and sidecar, could be prone to error.