-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Bug: Images get stretched in a weird way #527
Comments
By the looks of it, sometimes it seems to be fine and then sometimes it's being stretched/shrinked? |
Yeah, pretty much. I can't see any rhyme or reason though. |
should be fied f3634ef |
It doesn't distort now, but big images don't fit the viewport now causing scroll bars to appear. |
i was able to get shrinking working with big images, but not with small (i thought this would be a fine trade off since i couldn't find out a way to make it work both ways). Could you tell me what the image width and height was, I'll give it a try on my end. |
Interesting, I just checked my test images on phone, and unlike on pc everything displays correctly. https://stash.maximmax42.ru/naSAf.jpg Now that I think about it, I didn't try to do force reload the viewing page after updating Zipline, maybe something from the old version remained. I'll test it later. |
Correction: top link (1080x1920) shows up fine, rest have scroll bars.
I tried. There definitely was some leftover stuff in cache, but it only fixed one image (see above). |
Tested these on my end, 2560x1440 monitor, top and bottom link seem to work (once the image is fully loaded it seems to conform to the viewport), but the middle two links seem to have a vertical scrollbar... no idea why this is happening lol, ill still try out different stuff |
I think it's fixed here 5b88b59, I tried it on your images and it seems to be resizing just fine! |
Yup, seems to work on my end as well. |
What happened?
The image viewer stretches images sometimes. My screen resolution is 1080p, Chrome's viewport is 1920x919.
Exhibit A
Input (1920x1920)
Output
Exhibit B
Input (1080x1080)
Output
Exhibit C
Input (1080x1920)
Output
Exhibit D
Input (2160x3840)
Output
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc)
Zipline Logs
No response
Browser Logs
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: