thunder-app / thunder

Thunder - An open-source cross-platform Lemmy client for iOS and Android built with Flutter
https://thunderapp.dev
GNU Affero General Public License v3.0
712 stars 62 forks source link

Add option to select thumbnail quality #1329

Open hjiangsu opened 3 weeks ago

hjiangsu commented 3 weeks ago

Pull Request Description

This introduces a new option in Appearance -> Posts -> Feed Settings to choose the thumbnail quality for thumbnails hosted on Lemmy instances (using pictrs). When the quality is selected, it will request a smaller size from pictrs. This setting applies to both compact and card modes.

This option should help with some data reductions (alongside not showing thumbnails at all). One thing to note is that this currently also affects the image viewer (since it uses the same url for both thumbnails and viewer). I'd like to make it an option to view the full resolution image first before marking this PR as ready.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Checklist