[BUG] Web viewer wrongly sorts images uploaded from the web #119

Closed
opened 2026-02-04 17:48:57 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @SirBogner on GitHub (Jun 30, 2022).

Describe the bug
When uploading images using the web viewer, some images show the right date in the EXIF-metadata-panel, but gets sorted to the wrong date in the timeline.

Task List

  • I have read thoroughly the README setup and installation instructions.
  • If my setup is different, I have included my docker-compose file.
  • I have included my redacted .env file.
  • I have included information on my machine, and environment.

To Reproduce
Steps to reproduce the behavior:

  1. Go to immich from a web browser
  2. Click on 'Upload'
  3. Upload my dummy image
  4. See error in the sorting

Expected behavior
Images to be sorted correctly date-wise.

Dummy-file
dummy

Desktop (please complete the following information):

  • OS: Windows 11
Originally created by @SirBogner on GitHub (Jun 30, 2022). **Describe the bug** When uploading images using the web viewer, some images show the right date in the EXIF-metadata-panel, but gets sorted to the wrong date in the timeline. **Task List** - [x] I have read thoroughly the README setup and installation instructions. - [ ] If my setup is different, I have included my docker-compose file. - [ ] I have included my redacted `.env` file. - [ ] I have included information on my machine, and environment. **To Reproduce** Steps to reproduce the behavior: 1. Go to immich from a web browser 2. Click on 'Upload' 3. Upload my dummy image 4. See error in the sorting **Expected behavior** Images to be sorted correctly date-wise. **Dummy-file** ![dummy](https://user-images.githubusercontent.com/83633524/176557053-4dcdfcfd-ca00-447c-b8ef-f4843d9ed5e5.jpg) **Desktop (please complete the following information):** - OS: Windows 11
Author
Owner

@alextran1502 commented on GitHub (Jul 1, 2022):

Is this issue still relevant after our conversation on Discord? The image is sorted by the creation date in the EXIF info if it is found, otherwise the creation date will be the time it gets added to the database

@alextran1502 commented on GitHub (Jul 1, 2022): Is this issue still relevant after our conversation on Discord? The image is sorted by the creation date in the EXIF info if it is found, otherwise the creation date will be the time it gets added to the database
Author
Owner

@SirBogner commented on GitHub (Jul 2, 2022):

Yes, it is still relevant. The issue is only present for the web viewer as shown in the pictures (marked as red). The mobile app (Android) functions just fine.

Info0 Info1

@SirBogner commented on GitHub (Jul 2, 2022): Yes, it is still relevant. The issue is only present for the web viewer as shown in the pictures (marked as red). The mobile app (Android) functions just fine. ![Info0](https://user-images.githubusercontent.com/83633524/176991526-1e31222b-7dd2-435c-a607-34444a30d881.png) ![Info1](https://user-images.githubusercontent.com/83633524/176991524-e58f411c-ce7b-47cc-a802-5d494fe42c06.png)
Author
Owner

@SirBogner commented on GitHub (Jul 2, 2022):

And another question: When no creation date is present in the EXIF dataset, does Immich create the EXIF variable in the image metadata? This could be useful for those who would like to later extract the images and use them and the EXIF creation date elsewhere.

@SirBogner commented on GitHub (Jul 2, 2022): And another question: When no creation date is present in the EXIF dataset, does Immich create the EXIF variable in the image metadata? This could be useful for those who would like to later extract the images and use them and the EXIF creation date elsewhere.
Author
Owner

@alextran1502 commented on GitHub (Jul 2, 2022):

And another question: When no creation date is present in the EXIF dataset, does Immich create the EXIF variable in the image metadata? This could be useful for those who would like to later extract the images and use them and the EXIF creation date elsewhere.

At the moment, there is not. There is a feature put in for editing exif metadata though.

@alextran1502 commented on GitHub (Jul 2, 2022): > And another question: When no creation date is present in the EXIF dataset, does Immich create the EXIF variable in the image metadata? This could be useful for those who would like to later extract the images and use them and the EXIF creation date elsewhere. At the moment, there is not. There is a feature put in for editing exif metadata though.
Author
Owner

@alextran1502 commented on GitHub (Jul 2, 2022):

Yes, it is still relevant. The issue is only present for the web viewer as shown in the pictures (marked as red). The mobile app (Android) functions just fine.

Info0 Info1

I think I saw the problem. The date is the same but the year is different. I think I didn't consider the year when grouping the photos

@alextran1502 commented on GitHub (Jul 2, 2022): > Yes, it is still relevant. The issue is only present for the web viewer as shown in the pictures (marked as red). The mobile app (Android) functions just fine. > > > > ![Info0](https://user-images.githubusercontent.com/83633524/176991526-1e31222b-7dd2-435c-a607-34444a30d881.png) ![Info1](https://user-images.githubusercontent.com/83633524/176991524-e58f411c-ce7b-47cc-a802-5d494fe42c06.png) > > > I think I saw the problem. The date is the same but the year is different. I think I didn't consider the year when grouping the photos
Author
Owner

@SirBogner commented on GitHub (Jul 2, 2022):

I think I saw the problem. The date is the same but the year is different. I think I didn't consider the year when grouping the photos

I am happy to be able to help the hard working people!

@SirBogner commented on GitHub (Jul 2, 2022): > > I think I saw the problem. The date is the same but the year is different. I think I didn't consider the year when grouping the photos I am happy to be able to help the hard working people!
Author
Owner

@alextran1502 commented on GitHub (Jul 3, 2022):

Hey @SirBogner, I tried to recreate the scenario with the same date, and month but with different years, and on my system, it recognizes the difference to group them differently.

Can you help me find a set of photos that are correctly and incorrectly grouped together and that are not too sensitive and send it to me to test? You can send it on Discord DM.

Thank you for your support

Edit: For your convenience, you can download those files directly from the web, it will be the raw files that get downloaded and contain the original information I need.

@alextran1502 commented on GitHub (Jul 3, 2022): Hey @SirBogner, I tried to recreate the scenario with the same date, and month but with different years, and on my system, it recognizes the difference to group them differently. Can you help me find a set of photos that are correctly and incorrectly grouped together and that are not too sensitive and send it to me to test? You can send it on Discord DM. Thank you for your support Edit: For your convenience, you can download those files directly from the web, it will be the raw files that get downloaded and contain the original information I need.
Author
Owner

@SirBogner commented on GitHub (Jul 4, 2022):

Sure I can!

I will send you a DM

@SirBogner commented on GitHub (Jul 4, 2022): Sure I can! I will send you a DM
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#119