WhatsApp images have an invalid creation date #9116
Replies: 16 comments 4 replies
-
Yeah, this is a bit weird but I don't think we have any reason to support photos from the year 10,000 or beyond. |
Beta Was this translation helpful? Give feedback.
-
I guess thinking further we should try to understand why the year on that photo was so wrong, and maybe handle that better? Was the image uploaded from the app? |
Beta Was this translation helpful? Give feedback.
-
Maybe #3547? |
Beta Was this translation helpful? Give feedback.
-
Most are forwarded photos and videos. No, It doesn't upload from the app. I used bulk upload docker CLI. |
Beta Was this translation helpful? Give feedback.
-
Whatsapp pictures management is shit. In this case date is indicated on filename. For instance |
Beta Was this translation helpful? Give feedback.
-
Whatsapp seems to be scrampling the EXIF on the file, so yes, metadata should be ignored if there is any. |
Beta Was this translation helpful? Give feedback.
-
Would anyone be kind enough to show the full output of exiftool on a WhatsApp image? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The same happens with photos that are shared via Signal: all exif data is gone. |
Beta Was this translation helpful? Give feedback.
-
Just for information. Librephotos did a hacky solution for pictures with no metadata https://docs.librephotos.com/docs/user-guide/settings/date-rules It has a list of defined rules to extract dates from different places (standar exif tag, alternate tags, filename regex, etc). User may add some of that rules from a list and may assign different priority to each rule. |
Beta Was this translation helpful? Give feedback.
-
The issue still there, the parsing not works properly or at all. |
Beta Was this translation helpful? Give feedback.
-
if I edit an image manualy or using a script, to modify and fix the date for whatsapp images, how can I make immich take the new changes on considiration, I even moved the image to the correct folder structure in my immich library, but it still shows as the old date. |
Beta Was this translation helpful? Give feedback.
-
I have just discovered this issue after uploading around 50,000 images to a library. Maybe 20% of them are Whatsapp images that have the dates all wrong! Not I need to somehow bulk delete them from my immich library if anyone has any ideas. |
Beta Was this translation helpful? Give feedback.
-
Moving to feature request |
Beta Was this translation helpful? Give feedback.
-
I have made this script to perform the extraction and setting the date to |
Beta Was this translation helpful? Give feedback.
-
A batch-edit feature for file dates would solve something like 99% of the issues people describe with bad date metadata. I just looked at the file names of my local signal exports and they follow the pattern signal-YYYY-MM-DDHHmmSS.png. I could export them from signal, move them to my computer, batch fix them with exiftool and reimport them, but fixing it in the app would be a lot simpler. Immich knows how it wants the dates stored, and it already has support for editing dates and for setting a date for multiple files at once. Letting people shoot themselves in the foot using regexps (or something simplified) would be pretty simple. I expect to get some more computer time when my newborn gets a bit older, but I am not counting on it. When I do I can have a look at implementing it if there is any interest in having it mainstream. Even having a guesser would be simple enough. |
Beta Was this translation helpful? Give feedback.
-
The bug
[BUG] I got some forwarded photos and videos in Whatsapp and I see that the year of these media are more than 4 digits. So It'll not appear in the timeline. I attached photos here.
The OS that Immich Server is running on
Debian
Version of Immich Server
v1.70
Version of Immich Mobile App
v1.71
Platform with the issue
Your docker-compose.yml content
Same as v1.70 docker-compose.yml
Your .env content
Reproduction steps
1. try to upload photos with year more than 4 digits in that like 123456
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions