this post was submitted on 28 Jul 2023
20 points (83.3% liked)

Jerboa

10299 readers
1 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
 

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

!RimWorldPorn@rimworld.gallery

top 21 comments
sorted by: hot top controversial new old
[–] over_clox@lemmy.world 6 points 1 year ago (1 children)

That's not loading in the Jerboa app, that's loading through an embedded web browser instance. Looking like more of a KBin server side thing.

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

I am opening it in the Jerboa app, the browser is opening what it's being told to open, I assume? That's not the full size images. On kbin you can get both the thumbnail and the full size images, look at the connect app, it shoes the full size images (and then crashes due to running out of memory)

[–] over_clox@lemmy.world 3 points 1 year ago (1 children)

No kidding? I get the same results.

It's a KBin server, count yourself lucky it's even half compatible with Lemmy.

It's not loading through your Lemmy app, it's loading through an embedded instance of your default web browser.

[–] TheVillageGuy@lemmy.world 0 points 1 year ago (1 children)

That makes sense. But why not have that embedded browser open the full size image instead of the thumbnail?:

[–] over_clox@lemmy.world 2 points 1 year ago

That's a KBin server, who knows? 🤷‍♂️

Maybe try contacting the admin of that particular server...

[–] testEmailVerified@lemmy.world 1 points 1 year ago (2 children)
[–] TheVillageGuy@lemmy.world 2 points 1 year ago (1 children)

You are opening the actual kbin instance it seems, not browsing it through the app

[–] testEmailVerified@lemmy.world 2 points 1 year ago (1 children)

I'm sorry, I'm not exactly understanding the problem yet. In the gif i can see you open the images. Is the problem that u open the lowres thumbnails and not the actual images? Bc I don't think it does that. I did notice there is apparently a limit to zooming into a image.

[–] TheVillageGuy@lemmy.world 1 points 1 year ago (1 children)

Yes, it's opening thumbnails instead of the actual images. The actual images are >20mb in size and very high detail (and take much longer to load)

[–] testEmailVerified@lemmy.world 2 points 1 year ago (2 children)

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) (2 children)

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?

[–] over_clox@lemmy.world 2 points 1 year ago (1 children)

Oh, you are the admin? LOL, well kick me in the balls and call me Shirley, didn't know, my bad. 😂

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

kick me in the balls and call me Shirley

Surely!

[–] testEmailVerified@lemmy.world 2 points 1 year ago (2 children)

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 (2 children)

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) (1 children)

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.