immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
38.45k stars 1.82k forks source link

The photo is displayed in the wrong direction #10208

Open PolarisGitYHNL opened 2 weeks ago

PolarisGitYHNL commented 2 weeks ago

The bug

The photo is displayed in the wrong direction. The photo source file is a vertical photo, and it displays normally in both the Synology album and MT Photos (another Docker based album), as shown in the following figure:

image image

In IMMICH, the shape of the thumbnail is normal and displayed as a vertical version, as shown in the following figure:

image

However, the images and photos in the thumbnail are folded down to display horizontally, as shown in the following figure:

image

The same applies to displaying errors in mobile apps: image

The OS that Immich Server is running on

Sinology DSM docker

Version of Immich Server

v1.106.2

Version of Immich Mobile App

v1.106.1

Platform with the issue

Your docker-compose.yml content

Perhaps the problem is unrelated to this

Your .env content

Perhaps the problem is unrelated to this

Reproduction steps

None

Relevant log output

No response

Additional information

No response

bo0tzz commented 2 weeks ago

Does the EXIF of the files have any rotation metadata?

Snowknight26 commented 2 weeks ago

libraw probably needs an update.

Potential workaround: https://github.com/immich-app/immich/issues/9845#issuecomment-2145840833

PolarisGitYHNL commented 2 weeks ago

Does the EXIF of the files have any rotation metadata? YES One line in EXIF: Orientation Rotate 270 CW

PolarisGitYHNL commented 2 weeks ago

sorry my mistake(I have reopened it)

jrasm91 commented 2 weeks ago

Can you refresh metadata and then refresh thumbnails for this picture and let me know if it is still orientated incorrectly?

image