Photos placed wrong on the timeline #12608
Replies: 18 comments
-
Immich uses the following EXIF tags, order by priority to get the date value const EXIF_DATE_TAGS: Array<keyof Tags> = [
'SubSecDateTimeOriginal',
'DateTimeOriginal',
'SubSecCreateDate',
'CreationDate',
'CreateDate',
'SubSecMediaCreateDate',
'MediaCreateDate',
'DateTimeCreated',
]; |
Beta Was this translation helpful? Give feedback.
-
Hmm look like a bug as I see you have |
Beta Was this translation helpful? Give feedback.
-
I thought I had added the file to the issue.
Here it is attached.
Best regards
Den fre. 29. mar. 2024 kl. 22.06 skrev Alex ***@***.***>:
… Hmm look like a bug as I see you have DateTimeOriginal as well. Do you
mind sharing the file?
—
Reply to this email directly, view it on GitHub
<#8375 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFL3EQSLKI6LXKQWKHPQBKLY2XJUFAVCNFSM6AAAAABFO5LK5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXG4ZTOMBSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This might be related to my issue #7904. And I noticed just yesterday that if I on mobile open some people, there are bunch of old photos grouped e.g. in date 23.11.2022 but opening the photos and displaying their info shows their dates are in 2005, 2006, 2017... etc. It really feels like different parts of Immich use different kind of dates and that creates this mess... |
Beta Was this translation helpful? Give feedback.
-
I have just noticed the same issue. |
Beta Was this translation helpful? Give feedback.
-
@LucaTheHacker yes, in my example the only (visible) tag pointing to 2022 is FileModifyDate, which shouldn't be considered by Immich at all. |
Beta Was this translation helpful? Give feedback.
-
@alextran1502 could you deduct anything from the image? |
Beta Was this translation helpful? Give feedback.
-
Same issue here, I added multiple scanned images to an external library where I added the correct dates to exif manually and it placed them to today due to the modified date. |
Beta Was this translation helpful? Give feedback.
-
@Roadrunner67 can you help me zip the original file up and share on here? When I downloaded the file above, the EXIF data is not intact |
Beta Was this translation helpful? Give feedback.
-
Have a similar issue. Just imported a ton of photos from an external source. The exif data contains the correct creation date, but the timeline says today (I'm using v1.103.0 though). |
Beta Was this translation helpful? Give feedback.
-
@highghlow can you zip the file up and throw it on here so I can use it for troubleshoot the code? |
Beta Was this translation helpful? Give feedback.
-
It turns out only some photos in my backup had an exif date attached. The images that have a date attached are in the correct position on the timeline. It's not an issue with Immich. |
Beta Was this translation helpful? Give feedback.
-
I'm using iPhone Same image, shows different date. ( it's a screenshot btw
But, if it's a photo, it has
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure if it's related or not, but while my photos end up in the right days based (or at least I haven't noticed errors at this level of timestamp granularity) on their DateTimeOriginal EXIF data, they are not ordered correctly by time. The time displayed in the UI for the photos is all over the place as you go from one photo to the next. I can provide additional detail or screenshots if helpful. These are all photos imported from an external library on a read-only file system taken with a Pentax K-1 DSLR. |
Beta Was this translation helpful? Give feedback.
-
If you have a question about why an image shows up in the wrong place or with the wrong information, please attach it as a zip file here and I can take a look at it. |
Beta Was this translation helpful? Give feedback.
-
I figured out the why behind my apparent lack of ordering, but despite that I have an explanation, it's undesirable behavior. When I'm traveling internationally, my camera, when outside, GPS tags photos. When inside, it doesn't have GPS signal and does not tag. The problem is that Immich sees the GPS tagging and adjusts the time by hours corresponding to the timezone in the tag location. This results in "inside" pictures appearing interspersed with later or earlier "outside" pictures in nonsensical ways. Can anybody propose I way to address this? Is the problem clear? I looked for a setting to turn off Immich's interpretation of time relative to location, but I couldn't find anything. |
Beta Was this translation helpful? Give feedback.
-
Well, it's back... Quite obvious here for an example, where there are photos in the dark in the middle of the day: I played with the DB a little. If I go to database and select assets using this: I don't understand why photos in the timeline are ordered using file modification time... |
Beta Was this translation helpful? Give feedback.
-
The bug
I have an image in my external library
taken on April 2nd 2014, but it is placed in the timeline on July 1st 2022.
Here is the output of exiftool:
The OS that Immich Server is running on
Qnap QTS 5.1.5 (20240219)
Version of Immich Server
v1.100.0
Version of Immich Mobile App
v1.99.0 build 129
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
This file was among the thousands of files in my external library when scanning.
Additional information
I have tried uploading the same image to my personal library, but it is disregarded, probably because it already exists in the external library.
Beta Was this translation helpful? Give feedback.
All reactions