25

When opening a picture, only the thumbnails are shown instead of the actual pictures

!RimWorldPorn@rimworld.gallery

you are viewing a single comment's thread
view the rest of the comments
[-] testEmailVerified@lemmy.world 2 points 1 year ago

The thumbnail is the same as the url, I think this a deeper issue with the imageviewer

[-] TheVillageGuy@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

It is a kbin server, and you're speaking to the admin🙂. (Replying to @over_clox@lemmy.world as well). Both jpgs are the full size images, not thumbnails. There is no imageviewer, I've disabled it because it had trouble displaying on Iphones and zooming issues on other mobiles. So, when you call the url, you get the raw 33MB jpg. So I'd think it should be possible to display it as is?

[-] testEmailVerified@lemmy.world 2 points 1 year ago

I am aware, and I am talking about the imageviewer in Jerboa, which I wrote. Currently Jerboa uses default jetpack compose image with CoilImage painter and some 3rd partylib to allow zooming. CoilImage does downsampling (reduces the pixels to increase perf when you can't see it anyway). During the zooming is probably where it goes wrong and it should load a higher res version. I'm pretty sure it actually loads the full image but I have not confirmed that yet.

[-] TheVillageGuy@lemmy.world 2 points 1 year ago

Judging by the time it takes to download the pictures (after clearing the app cache) I'd say the full pictures are indeed downloaded

[-] TheVillageGuy@lemmy.world 1 points 1 year ago

Oh, misunderstood you there, my bad. Hope you can figure it out. Could you check for me if another kbin instance, on another channel with images, does give you two urls though? I'm curious if it's supposed to be like this (2x same url)

[-] testEmailVerified@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

For only that post it has the same two urls, the other posts seem indeed to have a different url

You can see the links here: https://lemmy.world/api/v3/post/list?community_id=86965&page=1&sort=Active

[-] TheVillageGuy@lemmy.world 1 points 1 year ago

They all seem to have the same url & thumbnail_url, except for #9, which has a thumbnail on lemmy.world. Makes me wonder why that one does and all the others don't

[-] TheVillageGuy@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

This is interesting now that I'm thinking about it. if you get the same from another instance, are the thumbnail and regular url different? The fact that the viewer is disabled my side should not influence the actual uris presented to the outside world, I'd think.

this post was submitted on 28 Jul 2023
25 points (100.0% liked)

Jerboa

10295 readers
7 users here now

Jerboa is a native-android client for Lemmy, built using the native android framework, Jetpack Compose.

Warning: You can submit issues, but between Lemmy and lemmy-ui, I probably won't have too much time to work on them. Learn jetpack compose like I did if you want to help make this app better.

Built With

Features

Installation / Releases

Support / Donate

Jerboa is made by Lemmy's developers, and is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project.

Crypto

Contact

founded 2 years ago
MODERATORS