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 thread.
View all comments View context
1 point

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

permalink
report
parent
reply

Connect for Lemmy App

!lemmyconnect@lemmy.ca

Create post

A community for the mobile app Connect for Lemmy.

Links

Community stats

  • 144

    Monthly active users

  • 794

    Posts

  • 3.2K

    Comments

Community moderators