53
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 23 Aug 2025
53 points (100.0% liked)
Linux
9056 readers
463 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
Here's some HTML only tricks to serve a default image plus a fallback image;
https://stackoverflow.com/questions/980855/inputting-a-default-image-in-case-the-src-attribute-of-an-html-img-is-not-vali#980910
This way you can set JPG XL as the default, and a lower quality normal JPG file as the backup (maybe by setting both to the same file size, lol). And then separately give the user a notice (based on feature testing) that their browser doesn't support JPG XL and that they should request it