Post AL00KuRqZEAlUUUwD2 by joel@benign.town
(DIR) More posts by joel@benign.town
(DIR) Post #AKznQvpJ3Z526D0pCy by joel@benign.town
2022-06-29T23:16:04Z
0 likes, 0 repeats
I had been careless about image formats on my website, but I decided to put some work and convert them all to WebP. Also, I got the Nord color scheme to work on my code! https://joelchrono12.xyz/blog/webp-conversion-and-code-highlighting/ #webdev #jekyll #blogpost
(DIR) Post #AKzo0M1Hf9UBTHVOl6 by joel@benign.town
2022-06-29T23:22:28Z
0 likes, 0 repeats
Oh right I forgot to mention you @tdarb but I guess that's not necessary anymore lol, thanks for the inspiration :P
(DIR) Post #AKzvpZd1WbSy7rWoeO by rridley@fosstodon.org
2022-06-30T00:50:08Z
0 likes, 0 repeats
@joel I recently learned about the 11ty image plugin and set it up with a short code to automatically generate webp and jpg images, resize them and display the appropriate one for the browser.I just made a short code to make it easyIt really changed the game in media management for me with static sites!
(DIR) Post #AKzxAqGWxmEplDiFtY by isa@citrus.farm
2022-06-30T01:05:12Z
0 likes, 0 repeats
@joel what are the benefits of webp? every time i download an image and it ends up being webp instead of like a jpg or a png i get angry hahaha
(DIR) Post #AL002FjZCdsU0OtFhI by joel@benign.town
2022-06-30T01:37:17Z
0 likes, 0 repeats
@isa It can be compressed so much more without any real quality loss. I think I will provide both tho, it should not be hard to implement as jekyll's include can do something similar to what @rridley is doing with hugo shortcodes. I will look into providing both formats and change it depending on browser support and such.
(DIR) Post #AL004rZZUS8jwJSYbo by joel@benign.town
2022-06-30T01:37:46Z
0 likes, 0 repeats
@isa It can be compressed so much more without any real quality loss. I think I will provide both tho, it should not be hard to implement as jekyll can do something similar to what @rridley is doing with hugo shortcodes, using _includes. I will look into providing both formats and change it depending on browser support and such.
(DIR) Post #AL00KuRqZEAlUUUwD2 by joel@benign.town
2022-06-30T01:40:39Z
0 likes, 0 repeats
@isa also a "Download as PNG/JPG" should be a native option on browsers lol
(DIR) Post #AL00eHgaOUZl3zdAQK by joel@benign.town
2022-06-30T01:44:09Z
0 likes, 0 repeats
It looks like @m2m already has a Jekyll setup to provide both file formats, so I'll pretty much copy paste it lol https://minutestomidnight.co.uk/blog/implementing-webp-images-in-jekyll/
(DIR) Post #AL00gJjRl1jNzLwENM by joel@benign.town
2022-06-30T01:44:32Z
0 likes, 0 repeats
@isa It looks like @m2m already has a Jekyll setup to provide both file formats, so I'll pretty much copy paste it lol https://minutestomidnight.co.uk/blog/implementing-webp-images-in-jekyll/
(DIR) Post #AL00iIa90KNH07X2S8 by isa@citrus.farm
2022-06-30T01:44:53Z
0 likes, 0 repeats
@joel preaaaach 😩 why does the web + web browsers have to be so hostile to users sometimes ðŸ˜
(DIR) Post #AL00m6wIEYJo39i3k0 by isa@citrus.farm
2022-06-30T01:45:34Z
0 likes, 0 repeats
@joel i could probably do this too on publii 🤔 might look into it this weekend!