-
Notifications
You must be signed in to change notification settings - Fork 186
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
Add no-crop thumbnails rendering in images preview #5179
Comments
So, after some investigation, it seems the preview thumbnails used depend the client resolution and how works the thumbnailer by default. from: to: Please add those portrait mode in default, and ensure downscaled instead of cropped is used by the thumbnailer. |
@C0rby Can you take a look if this is a bug? |
There is a ticket in web for this, see owncloud/web#7728 - but we need some kind of We intended to have a cropped thumbnail for the file list, but downscaled for the right sidebar |
You are more than welcome to add the missing resolutions to the default config and open a PR.
As @kulmann already stated that was a deliberate decision but we could add a
https://pkg.go.dev/github.com/disintegration/imaging#Resize could be used for that since it doesn't crop as opposed to https://pkg.go.dev/github.com/disintegration/imaging#Thumbnail, which we are using right now. |
Removing the bug label because this is an enhancement. |
This is a blocking issue for resolving a bug (impossible to view a full photo without downloading) in web. |
Hi, I just migrated to 4.0.4, and it seems not fixed. |
It will be available as part of the ocis |
Describe the bug
Image preview is broken.
It regularly produce thumbnails that truncate most of the images and make the previewing in Space useless.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The image is always entirely visible, downscaling it if needed to fit in the client screen
Actual behavior
Thumbnails seems to be cropped instead of downscaled
Setup
The text was updated successfully, but these errors were encountered: