immich
immich copied to clipboard
[BUG] Images in incorrect order
Describe the bug
These two pictures have a certain timestamp they appear in the wrong order in immich.
Task List
- [x] I have read thoroughly the README setup and installation instructions.
- [x] I have included my
docker-compose
file. - [x] I have included information on my machine, and environment.
version: "3.8"
services:
immich-server:
image: altran1502/immich-server:latest
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- redis
- database
restart: always
immich-microservices:
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- redis
- database
restart: always
immich-machine-learning:
image: altran1502/immich-machine-learning:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- database
restart: always
immich-web:
image: altran1502/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
env_file:
- .env
restart: always
redis:
container_name: immich_redis
image: redis:6.2
restart: always
database:
container_name: immich_postgres
image: postgres:14
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
PG_DATA: /var/lib/postgresql/data
volumes:
- pgdata:/var/lib/postgresql/data
restart: always
immich-proxy:
container_name: immich_proxy
image: altran1502/immich-proxy:release
ports:
- 2283:80
logging:
driver: none
depends_on:
- immich-server
restart: always
volumes:
pgdata:
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior The images appear in correct order.
System
- Phone OS: Android 12/12L
- Server Version: v1.28.2
Hi @gabriel-gfs, the file 20220819-IMG_9066
is not found. Can you re-upload again?
Hi @gabriel-gfs Here are the two timestamp I have after uploading by the web app
Image 1

EXIF

TIFF

Image 2

EXIF

TIFF

Which one do you expect to be the correct one?
@panoti I think this is the problem, you faced, correct?
@alextran1502 same as me. It comes from time zone problem. But idk whether @gabriel-gfs is talking about that or not.
Hi @gabriel-gfs Here are the two timestamp I have after uploading by the web app
Image 1
![]()
EXIF
![]()
TIFF
![]()
Image 2
![]()
EXIF
![]()
TIFF
![]()
Which one do you expect to be the correct one?
@panoti I think this is the problem, you faced, correct?
This is the order that is displayed in the timeline of immich, ergo the picture with the later timestamp is displyed earlier than the picture wiht the earlier timestamp.
@gabriel-gfs I think the order is correct, since each image grid starting to display the latest in the day and progress to display the later one. Just like you see the latest images on first, follow by the older images
Close with the reason mentioned above
Sry i didnt respond earlier. The issue does not appear to be fixed. The images are not in the correct order as this is not in the timeline but rather in a album where the timeline is the other way around so the later image should appear later and not earlier.
As is probably visible in this there should be no sorting in which this is the correct order as the timestamps are all over the place
Would you be able to provide that full set of photos so we have more of a dataset to test against?
Sent it via Discord
Fixed in #1326
As is probably visible in this there should be no sorting in which this is the correct order as the timestamps are all over the place
These pictures remain in incorrect order as you can see in this
@gabriel-gfs
Is this the new upload or from the original upload? The fix doesn't applied automatically to the older photos, only to the new upload. We are planning to add a new job to rescan all exif data
No these are old pictures. Thanks for the information. I'll be looking forward to that job. 🤗