this post was submitted on 28 Jul 2023
7 points (73.3% liked)

Connect for Lemmy App

2672 readers
14 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 1 year ago
MODERATORS
 

Downloading several very large images crashes the app. You might want to check filesizes and if a file is too large try to get a thumbnail instead. Then download the picture when the user selects it.

You can get a content-length from the http server.

!RimWorldPorn@rimworld.gallery

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

I noticed that when all images are downloaded (after about 4 app crashes) all is good as everything is in cache. A solution may be too limit the amount of synchronous image downloads, somehow