this post was submitted on 05 Dec 2023
0 points (50.0% liked)

Linux

47361 readers
1234 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

This is the link to the image. It has 3.8mb. In my opinion that is way too much.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 9 months ago (2 children)

It's 5120 px wide. Is this necessary?

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago)

it's not. the lemmy-ui max width for the poster element is far smaller than that (1104x960). in fact, the poster element is set to be a near-square (displays as rectangular in web and mobile web on the page header), as it also displays in the sidebar and in mobile apps as a square if the image is. most mods simply assume it's a rectangle and upload a rectangular image.

this image is made to be the largest usable resolution lemmy can display as a community poster and optimized to be very small in file size. see on https://lemm.ee/c/plex

[–] [email protected] -2 points 9 months ago (2 children)

That's a question for a web developer, which I am not. I would expect it to be the max common resolution width. A quick Google shows that modern ultrawides are 5120x1440. So that's probably why.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago)

I'm a web developer.

Lemmy does not use the entire screen width. The way it has been embedded in the page means that image takes up only 850 pixels of horizontal space so it could be 5x smaller and no one would be able to see the difference.

Lemmy really should be automatically resizing the images (on the server) when they are uploaded, not every single time the community is viewed (in the browser).

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

So if you are not a cook, you can't answer questions about food taste?

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

I mean, I took a guess. I don't know what you want from me.

[–] [email protected] 1 points 9 months ago

I want you to laugh at my joke question.