|
|
|
|
|
by naberhausj
594 days ago
|
|
The best feature of my purpose-built static site generator is that it automatically builds (mostly) optimized WEBPs from any source image [1]. Not only does it reduce the image size, but it outputs many sizes of the image so that I can use an image `srcset`. The browser then automatically downloads the optimally sized image for the element. It's a game changer to be able to copy photos directly from my Google Photos and not worry about it bloating my web pages. [1] https://github.com/JosephNaberhaus/naberhausj.com/blob/05846... |
|
But now, I have a better workflow where I use the Image Converter plugin[^1] in Obsidian since that's how I'm composing my notes primarily. As I paste the images into the markdown file, it gets converted and embedded. There's also Clop[^2] for macOS which auto converts if I copy an image/file to my clipboard into my desired format and quality.
Quite happy with this setup for the time being.
[^1]: https://github.com/xRyul/obsidian-image-converter [^2]: https://lowtechguys.com/clop/