News for hackers. Stuff that matters.
Re:Optimizing Images with the HTML Tag by Theodores on Sunday October 30, 2022 @05:38PM (#33399010)
Exactly. Just have jpg in the code and serve webp based on header. Problem solved.

If you can do avif with better results than webp then do that.

You can also vary on the data save if you are really keen.

Re:Optimizing Images with the HTML Tag by jbverschoor on Tuesday November 01, 2022 @09:26PM (#33430330)
You’d need to serve the proper resolution too