this post was submitted on 23 Jan 2024
7 points (100.0% liked)

Connect for Lemmy App

2675 readers
1 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 1 year ago
MODERATORS
 

As the title says, the post images are always square and because of that non-aspect-ratio-respecting scaling a lot of images are stretched.

Is there any option to disable this non-sense?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago (1 children)

Settings -> Post Customization -> [Full Width]

That takes up much more screen real estate, but some people like it.

[–] [email protected] 1 points 10 months ago (1 children)

That's not a solution for me.

[–] [email protected] 1 points 10 months ago (1 children)

Wait. I thought you were taking about thumbnails for some reason. Sorry.

It's for images that you open?

[–] [email protected] 1 points 10 months ago (1 children)

No, you were right from the start. I was talking about the thumbnails. Sorry for the confusion.

It's just not a solution for me because, as you already mentioned, it takes up too much screen space in that mode. I'd rather keep the reverse list mode.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

I just dug a little into the Flutter API and saw what might be going on. Scaling is done properly on a regular browser, but there might be a built-in function for it somewhere. It may take a few more steps with Flutter.

(Just rambling a bit for those who care about details and theory crafting.)

Calling BoxFit in Flutter is significantly less expensive for thumbnails, I would speculate. It appears that it would take a few operations to scale an image properly and could impact slower devices.

An option to enable or disable image scaling would be nice. It's just annoying that its probably not a one line code change. (Unless it is. That would be great.)