Wrong orientation with Samsung S10e #8201

Closed
opened 2026-02-05 13:35:29 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @biva on GitHub (Jan 5, 2026).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Hello,
The pictures of my Samsung S10e, synced on the server, are wrongly oriented, but only on the server (they are correct on the phone Gallery app and on the phone Immich app)

The OS that Immich Server is running on

Debian Yunohost

Version of Immich Server

2.4.1

Version of Immich Mobile App

2.4.1.3030

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Samsung S10e

Your docker-compose.yml content

-

Your .env content

-

Reproduction steps

  1. Take a picture with the phone, vertical
  2. Wait for they sync
  3. Watch the picture on the web server: it's horizontal

Relevant log output


Additional information

No response

Originally created by @biva on GitHub (Jan 5, 2026). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Hello, The pictures of my Samsung S10e, synced on the server, are wrongly oriented, but only on the server (they are correct on the phone Gallery app and on the phone Immich app) ### The OS that Immich Server is running on Debian Yunohost ### Version of Immich Server 2.4.1 ### Version of Immich Mobile App 2.4.1.3030 ### Platform with the issue - [x] Server - [ ] Web - [ ] Mobile ### Device make and model Samsung S10e ### Your docker-compose.yml content ```YAML - ``` ### Your .env content ```Shell - ``` ### Reproduction steps 1. Take a picture with the phone, vertical 2. Wait for they sync 3. Watch the picture on the web server: it's horizontal ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Jan 5, 2026):

Please share more detail; what format are these files, what is their EXIF data (as read with exiftool), if you load the original on the web client (by zooming in) does that fix the rotation, etc?

@bo0tzz commented on GitHub (Jan 5, 2026): Please share more detail; what format are these files, what is their EXIF data (as read with `exiftool`), if you load the original on the web client (by zooming in) does that fix the rotation, etc?
Author
Owner

@biva commented on GitHub (Jan 5, 2026):

Thanks a lot! I tried to upload it directly in the web UI, same result.

Sorry, I'm not sure how to find the orientation in the exif, I attach the picture if it helps?

Image

@biva commented on GitHub (Jan 5, 2026): Thanks a lot! I tried to upload it directly in the web UI, same result. Sorry, I'm not sure how to find the orientation in the exif, I attach the picture if it helps? ![Image](https://github.com/user-attachments/assets/d961399b-b722-45a8-bbe5-fe4143e193f8)
Author
Owner

@bo0tzz commented on GitHub (Jan 5, 2026):

Can you put it in a .zip? Otherwise github strips all the interesting bits.

@bo0tzz commented on GitHub (Jan 5, 2026): Can you put it in a .zip? Otherwise github strips all the interesting bits.
Author
Owner

@biva commented on GitHub (Jan 5, 2026):

I found a way online, I hope it helps?

File:FileSize
2.3 MB
File:FileModifyDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 12,
"minute": 16,
"second": 39,
"tzoffsetMinutes": 0,
"rawValue": "2026:01:05 12:16:39Z",
"zoneName": "UTC",
"inferredZone": false
}

File:FileAccessDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 12,
"minute": 16,
"second": 39,
"tzoffsetMinutes": 0,
"rawValue": "2026:01:05 12:16:39Z",
"zoneName": "UTC",
"inferredZone": false
}

File:FileInodeChangeDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 12,
"minute": 16,
"second": 39,
"tzoffsetMinutes": 0,
"rawValue": "2026:01:05 12:16:39Z",
"zoneName": "UTC",
"inferredZone": false
}

File:FilePermissions
-rw-r--r--
File:FileType
JPEG
File:FileTypeExtension
jpg
File:MIMEType
image/jpeg
File:ExifByteOrder
Little-endian (Intel, II)
File:ImageWidth
4,032
File:ImageHeight
2,268
File:EncodingProcess
Baseline DCT, Huffman coding
File:BitsPerSample
8
File:ColorComponents
3
File:YCbCrSubSampling
YCbCr4:2:0 (2 2)
EXIF:ImageWidth
4,032
EXIF:ImageHeight
2,268
EXIF:Make
samsung
EXIF:Model
SM-G970F
EXIF:Orientation
6
EXIF:XResolution
72
EXIF:YResolution
72
EXIF:ResolutionUnit
inches
EXIF:Software
G970FXXSGHWC1
EXIF:ModifyDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"rawValue": "2026:01:05 13:07:38",
"inferredZone": false
}

EXIF:YCbCrPositioning
Centered
EXIF:ExposureTime
1/100
EXIF:FNumber
2.4
EXIF:ExposureProgram
Program AE
EXIF:ISO
200
EXIF:ExifVersion
0220
EXIF:DateTimeOriginal

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"rawValue": "2026:01:05 13:07:38",
"inferredZone": false
}

EXIF:CreateDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"rawValue": "2026:01:05 13:07:38",
"inferredZone": false
}

EXIF:OffsetTime
+01:00
EXIF:OffsetTimeOriginal
+01:00
EXIF:ShutterSpeedValue
1/100
EXIF:ApertureValue
2.4
EXIF:BrightnessValue
2.77
EXIF:ExposureCompensation
0
EXIF:MaxApertureValue
2.4
EXIF:MeteringMode
Spot
EXIF:Flash
No Flash
EXIF:FocalLength
4.3 mm
EXIF:ColorSpace
sRGB
EXIF:ExifImageWidth
4,032
EXIF:ExifImageHeight
2,268
EXIF:ExposureMode
Auto
EXIF:WhiteBalance
Auto
EXIF:DigitalZoomRatio
1
EXIF:FocalLengthIn35mmFormat
26 mm
EXIF:SceneCaptureType
Standard
EXIF:ImageUniqueID
L12XLLD01VM
EXIF:

EXIF:
Above Sea Level
EXIF:

EXIF:Compression
JPEG (old-style)
EXIF:ThumbnailOffset
960
EXIF:ThumbnailLength
43,049
EXIF:ThumbnailImage

{
"_ctor": "BinaryField",
"bytes": 43049,
"rawValue": "(Binary data 43049 bytes, use -b option to extract)"
}

MakerNotes:TimeStamp

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 12,
"minute": 7,
"second": 38,
"millisecond": 863,
"tzoffsetMinutes": 0,
"rawValue": "2026:01:05 12:07:38.863Z",
"zoneName": "UTC",
"inferredZone": false
}

MakerNotes:MCCData
France (208)
Composite:Aperture
2.4
Composite:ImageSize
4032x2268
Composite:Megapixels
9.1
Composite:ScaleFactor35efl
6
Composite:ShutterSpeed
1/100
Composite:SubSecDateTimeOriginal

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"tzoffsetMinutes": 60,
"rawValue": "2026:01:05 13:07:38+01:00",
"zoneName": "UTC+1",
"inferredZone": false
}

Composite:SubSecModifyDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"tzoffsetMinutes": 60,
"rawValue": "2026:01:05 13:07:38+01:00",
"zoneName": "UTC+1",
"inferredZone": false
}

Composite:CreateDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"rawValue": "2026:01:05 13:07:38",
"inferredZone": false
}

Composite:DateTimeOriginal

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"tzoffsetMinutes": 60,
"rawValue": "2026:01:05 13:07:38+01:00",
"zoneName": "UTC+1",
"inferredZone": false
}

Composite:ModifyDate

{
"_ctor": "ExifDateTime",
"year": 2026,
"month": 1,
"day": 5,
"hour": 13,
"minute": 7,
"second": 38,
"tzoffsetMinutes": 60,
"rawValue": "2026:01:05 13:07:38+01:00",
"zoneName": "UTC+1",
"inferredZone": false
}

Composite:Orientation
6
Composite:CircleOfConfusion
0.005 mm
Composite:FOV
69.4 deg
Composite:FocalLength35efl
4.3 mm (35 mm equivalent: 26.0 mm)

Composite:HyperfocalDistance
1.56 m
Composite:LightValue
8.2

@biva commented on GitHub (Jan 5, 2026): I found a way online, I hope it helps? File:FileSize 2.3 MB File:FileModifyDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 12, "minute": 16, "second": 39, "tzoffsetMinutes": 0, "rawValue": "2026:01:05 12:16:39Z", "zoneName": "UTC", "inferredZone": false } File:FileAccessDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 12, "minute": 16, "second": 39, "tzoffsetMinutes": 0, "rawValue": "2026:01:05 12:16:39Z", "zoneName": "UTC", "inferredZone": false } File:FileInodeChangeDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 12, "minute": 16, "second": 39, "tzoffsetMinutes": 0, "rawValue": "2026:01:05 12:16:39Z", "zoneName": "UTC", "inferredZone": false } File:FilePermissions -rw-r--r-- File:FileType JPEG File:FileTypeExtension jpg File:MIMEType image/jpeg File:ExifByteOrder Little-endian (Intel, II) File:ImageWidth 4,032 File:ImageHeight 2,268 File:EncodingProcess Baseline DCT, Huffman coding File:BitsPerSample 8 File:ColorComponents 3 File:YCbCrSubSampling YCbCr4:2:0 (2 2) EXIF:ImageWidth 4,032 EXIF:ImageHeight 2,268 EXIF:Make samsung EXIF:Model SM-G970F EXIF:Orientation 6 EXIF:XResolution 72 EXIF:YResolution 72 EXIF:ResolutionUnit inches EXIF:Software G970FXXSGHWC1 EXIF:ModifyDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "rawValue": "2026:01:05 13:07:38", "inferredZone": false } EXIF:YCbCrPositioning Centered EXIF:ExposureTime 1/100 EXIF:FNumber 2.4 EXIF:ExposureProgram Program AE EXIF:ISO 200 EXIF:ExifVersion 0220 EXIF:DateTimeOriginal { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "rawValue": "2026:01:05 13:07:38", "inferredZone": false } EXIF:CreateDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "rawValue": "2026:01:05 13:07:38", "inferredZone": false } EXIF:OffsetTime +01:00 EXIF:OffsetTimeOriginal +01:00 EXIF:ShutterSpeedValue 1/100 EXIF:ApertureValue 2.4 EXIF:BrightnessValue 2.77 EXIF:ExposureCompensation 0 EXIF:MaxApertureValue 2.4 EXIF:MeteringMode Spot EXIF:Flash No Flash EXIF:FocalLength 4.3 mm EXIF:ColorSpace sRGB EXIF:ExifImageWidth 4,032 EXIF:ExifImageHeight 2,268 EXIF:ExposureMode Auto EXIF:WhiteBalance Auto EXIF:DigitalZoomRatio 1 EXIF:FocalLengthIn35mmFormat 26 mm EXIF:SceneCaptureType Standard EXIF:ImageUniqueID L12XLLD01VM EXIF: EXIF: Above Sea Level EXIF: EXIF:Compression JPEG (old-style) EXIF:ThumbnailOffset 960 EXIF:ThumbnailLength 43,049 EXIF:ThumbnailImage { "_ctor": "BinaryField", "bytes": 43049, "rawValue": "(Binary data 43049 bytes, use -b option to extract)" } MakerNotes:TimeStamp { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 12, "minute": 7, "second": 38, "millisecond": 863, "tzoffsetMinutes": 0, "rawValue": "2026:01:05 12:07:38.863Z", "zoneName": "UTC", "inferredZone": false } MakerNotes:MCCData France (208) Composite:Aperture 2.4 Composite:ImageSize 4032x2268 Composite:Megapixels 9.1 Composite:ScaleFactor35efl 6 Composite:ShutterSpeed 1/100 Composite:SubSecDateTimeOriginal { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "tzoffsetMinutes": 60, "rawValue": "2026:01:05 13:07:38+01:00", "zoneName": "UTC+1", "inferredZone": false } Composite:SubSecModifyDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "tzoffsetMinutes": 60, "rawValue": "2026:01:05 13:07:38+01:00", "zoneName": "UTC+1", "inferredZone": false } Composite:CreateDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "rawValue": "2026:01:05 13:07:38", "inferredZone": false } Composite:DateTimeOriginal { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "tzoffsetMinutes": 60, "rawValue": "2026:01:05 13:07:38+01:00", "zoneName": "UTC+1", "inferredZone": false } Composite:ModifyDate { "_ctor": "ExifDateTime", "year": 2026, "month": 1, "day": 5, "hour": 13, "minute": 7, "second": 38, "tzoffsetMinutes": 60, "rawValue": "2026:01:05 13:07:38+01:00", "zoneName": "UTC+1", "inferredZone": false } Composite:Orientation 6 Composite:CircleOfConfusion 0.005 mm Composite:FOV 69.4 deg Composite:FocalLength35efl 4.3 mm (35 mm equivalent: 26.0 mm) Composite:HyperfocalDistance 1.56 m Composite:LightValue 8.2
Author
Owner

@biva commented on GitHub (Jan 5, 2026):

And the zipped image as well

20260105_130738.zip

@biva commented on GitHub (Jan 5, 2026): And the zipped image as well [20260105_130738.zip](https://github.com/user-attachments/files/24433105/20260105_130738.zip)
Author
Owner

@biva commented on GitHub (Jan 5, 2026):

(and the file I uploaded from my PC has the wrong orientation on the mobile app)

@biva commented on GitHub (Jan 5, 2026): (and the file I uploaded from my PC has the wrong orientation on the mobile app)
Author
Owner

@bo0tzz commented on GitHub (Jan 5, 2026):

I can't find anything wrong with that file. The EXIF data looks fine, and if I upload it to Immich it's the right way up.

@bo0tzz commented on GitHub (Jan 5, 2026): I can't find anything wrong with that file. The EXIF data looks fine, and if I upload it to Immich it's the right way up.
Author
Owner

@biva commented on GitHub (Jan 5, 2026):

Thanks a lot for investigating! How can I investigate further on my end? The pictures taken with my S23 are correct on the web UI. But not with the S10e:

Image
@biva commented on GitHub (Jan 5, 2026): Thanks a lot for investigating! How can I investigate further on my end? The pictures taken with my S23 are correct on the web UI. But not with the S10e: <img width="535" height="490" alt="Image" src="https://github.com/user-attachments/assets/a32a0c9e-8685-447f-90bb-bb852a9c351c" />
Author
Owner

@bo0tzz commented on GitHub (Jan 5, 2026):

Oh, I see the issue. You're using an unofficial package and I'd assumed that would just be using our docker containers under the hood, but it's not. That means it's almost certainly pulling in bad versions of dependencies, which is bound to mess up the thumbnail generation. So if you want to fix this you should report it to the maintainers of the package you're using (or switch to a supported installation method).

@bo0tzz commented on GitHub (Jan 5, 2026): Oh, I see the issue. You're using an unofficial package and I'd assumed that would just be using our docker containers under the hood, but it's not. That means it's almost certainly pulling in bad versions of dependencies, which is bound to mess up the thumbnail generation. So if you want to fix this you should report it to the maintainers of the package you're using (or switch to a supported installation method).
Author
Owner

@biva commented on GitHub (Jan 5, 2026):

Sorry, indeed, you understood the right reason and it's already treated here: https://github.com/YunoHost-Apps/immich_ynh/issues/338

@biva commented on GitHub (Jan 5, 2026): Sorry, indeed, you understood the right reason and it's already treated here: https://github.com/YunoHost-Apps/immich_ynh/issues/338
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8201