-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect aspect ratio displayed for thumbnails #184
Comments
yes for some reason I could not figure out why these photos are rotated. I'll try to give an other look with your photo. |
This also happens for me on the nightly build. The same picture (thumbnail) is shown correctly in the album art though. |
Yes its a new issue. With 1.8.0 the error would occure once you zoom in. Could not find the source of it yet. |
I'm not sure what you mean with "rotated". I was able to fix this behavior by adding |
Thanks for the PR, but I'm not sure that it will fix the issue. The issue is the following:
I tried to resolve this, bit on the server side I could not figure out in which case should I rotate the dimension(width and height) of the photo and in which case not. I found that taking the orientation data into account produces more valid results than the other way around. This is the code in question:
I think setting |
Sorry, I did not test in Chrome. Yes in Firefox it gets cropped a little, but is not distorted anymore. |
Lets keep the conversation in #212 as that has more interactions. Closing this as it a duplicate. |
Describe the bug
I've been using the docker nightly build and have noticed recently that the incorrect aspect ratio is being used for thumbnails. I switched over from the
latest
docker build but noticed it had memory issues but aspect ratio was displayed correctly with that version.Unfortunately, I don't have any particular reproduction steps, it just seems to happen with most of my pictures (although some are displayed correctly for some reason)
Photo/video (optional) that causes the bug
An example photo:
Screenshots
However, the thumbnail is displayed with equal height and width
Environment (please complete the following information):
Used app version:
Happy to provide any more details/logs I can. As far as I can tell, no errors appeared in the logs during thumbnail creation or indexing
The text was updated successfully, but these errors were encountered: