Replies: 1 comment
-
moved as issue #931 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have some issues showing the correct image orientation (portrait shows up as landscape). This happens for some images, but not all. After some digging in the EXIF metadata, I noticed that way the image was saved differed depending on some of my users. For some, the image was natively saved as as portrait (
Image Width:3024
Image Height:4032
) and for the faulty ones, natively saved as landscape, but with an orientation (Image Width:4032
,Image Height:3024
,Orientation: Rotate 90 CW
).On Biigle, it looks like the image canvas is setup in landscape, but the image data is rendered in portrait (the image is cropped and there is a slice of empty pixels. I am running version v3.72.4
I have a self-hosted biigle deployment using a self hosted image server. I do not have SSL setup on my private network, I initially saw the CORS warning, but added the needed headers (
Header set Access-Control-Allow-Origin "*"
) on my image server's apache configuration. I strongly suspect it may be related to #351 . But I think, CORS is setup correctly since the warning no longer shows up.A temporary fix I am considering, is to write a script that will rotate and produce native portrait images. I feel there is a better way to support the EXIF orientation. Perhaps I am missing something in the headers related to CORS ?
EDIT: I just saw #834 which is not in the version I am running. I will update Biigle and post my findings.
The update worked. The image is no loner cropped on the canvas like my screenshot. HOWEVER, the original image is meant to be in portrait (but is shown in landscape).
Beta Was this translation helpful? Give feedback.
All reactions