I see someone doesn’t know how to chase links then.
Just follow the links up the chain, it’s not that difficult.
Innerworld posted that, not me. So yes I’m a bit offended that you got pissy with me, take it up with the original poster, I just had an opinion, and apparently a glitch…
This has nothing to do with HTML. This has to do with rendering images, especially when you know your platform will be rendering images that sometimes have transparency.
When you know your app/program/website/platform is going to be rendering images that sometimes have transparency, then the background color is not a fucking option!
The background color behind transparent images should never be connected with the user interface color scheme, the background behind transparent images should always be white.
So this is a long standing problem with UI designers, it ain’t got shit to do with HTML, it’s just that the principles of a good GUI went out the window long ago and GUI developers lost all common sense.
You are interacting with lemmy through some HTML rendering engine. Either you are using a standalone browser or you are using an app that uses the OSes HTML Engine. That is how it works.
Of course, lemmy and piefed and all the apps using the API to fetch content could just add a white background to the image-container. But then, if the image does not load for example?
Also, no, this is not UI design, this is the image creators job. If you provide an image, provide it in a way they can be used without assuming page backgrounds. MediaWiki itself has some lengthy recommendations to be darkmode save.
The background color behind transparent images should never be connected with the user interface color scheme, the background behind transparent images should always be white.
No, it should not, remember dark-mode memes? How about, i have we website, and i want my users to be able to switch between modes, should i avoid transparent images, if i do NOT need a white background (for example: Logos, clipart, cutouts …)? If i know what image it is, and THAT it is transparent ok. But how does the fucking CSS know that the image is transparent? It doesn’t!
As those projects are opensource, feel free to contribute.
Don’t post transparent images and just assume the background is white?
Okay, then don’t post anything from Wikipedia, gotcha.
That should fix the problem, thanks for nothing.
And, on a different node:
First of all, your post violates the license of the image. According to the license, you must attribute the author, you don’t.
And, if you have a look at wikipedias image page, you will see that for the dark mode the background for this image is NOT bright white:
So, darkmode users don’t get their eyes burned out.
First of all, fuck you, I’m not the original poster. I just shared their link as reference to the problem, which apparently extends way beyond Jerboa…
You might think that someone so fussy about the original source might actually follow the links…
over_clox ≠ Innerworld, the actual OP
Sorry for this confusion. A simple: not me would be enough. Or did I insult you?
And you can not follow any link there as it links directly to the svg, not to the image page.
I see someone doesn’t know how to chase links then.
Just follow the links up the chain, it’s not that difficult.
Innerworld posted that, not me. So yes I’m a bit offended that you got pissy with me, take it up with the original poster, I just had an opinion, and apparently a glitch…
That is how html works my dude.
If You post a transparent image the background of the current page will be used.
Convert the image for example.
This is also not unique to lemmy. Same happens on reddit, X, Facebook, everywhere
This has nothing to do with HTML. This has to do with rendering images, especially when you know your platform will be rendering images that sometimes have transparency.
When you know your app/program/website/platform is going to be rendering images that sometimes have transparency, then the background color is not a fucking option!
The background color behind transparent images should never be connected with the user interface color scheme, the background behind transparent images should always be white.
So this is a long standing problem with UI designers, it ain’t got shit to do with HTML, it’s just that the principles of a good GUI went out the window long ago and GUI developers lost all common sense.
#FFFFFF
You are interacting with lemmy through some HTML rendering engine. Either you are using a standalone browser or you are using an app that uses the OSes HTML Engine. That is how it works.
Of course, lemmy and piefed and all the apps using the API to fetch content could just add a white background to the image-container. But then, if the image does not load for example?
Also, no, this is not UI design, this is the image creators job. If you provide an image, provide it in a way they can be used without assuming page backgrounds. MediaWiki itself has some lengthy recommendations to be darkmode save.
No, it should not, remember dark-mode memes? How about, i have we website, and i want my users to be able to switch between modes, should i avoid transparent images, if i do NOT need a white background (for example: Logos, clipart, cutouts …)? If i know what image it is, and THAT it is transparent ok. But how does the fucking CSS know that the image is transparent? It doesn’t!
As those projects are opensource, feel free to contribute.