Closed maximmax42 closed 7 months ago
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.
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 https://stash.maximmax42.ru/0gbjn.jpg https://stash.maximmax42.ru/baPsL.jpg https://stash.maximmax42.ru/bCY1f.jpg Here are my 4 testing images, all are displayed with scroll bars on my 1080p monitor.
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.
Here are my 4 testing images, all are displayed with scroll bars on my 1080p monitor.
Correction: top link (1080x1920) shows up fine, rest have scroll bars.
I didn't try to do force reload the viewing page after updating Zipline, maybe something from the old version remained.
I tried. There definitely was some leftover stuff in cache, but it only fixed one image (see above).
Here are my 4 testing images, all are displayed with scroll bars on my 1080p monitor.
Correction: top link (1080x1920) shows up fine, rest have scroll bars.
I didn't try to do force reload the viewing page after updating Zipline, maybe something from the old version remained.
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 https://github.com/diced/zipline/commit/5b88b597243429d883df70d5ffddf2f474f4a994, 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