3 ms·
what are you doing about images? all these generators seen to leave you in the dark about optimizing images.
by Already__Taken 6y ago
what are you doing about images? all these generators seen to leave you in the dark about optimizing images.
- DyslexicAtheist 6y agoI was doing image optimization manually but then there weren't much images in my case so that was doable by optimizing sizes/ resolution using Gimp. There are meanwhile better options but it's theme dependent. In hugo this is what I wanted: https://after-dark.habd.as/ https://after-dark.habd.as/ but IIRC not all of its image features were available in the theme's zola port https://github.com/getzola/after-dark https://github.com/getzola/after-dark
- dewey 6y agoHugo has integrated image processing: https://gohugo.io/content-management/image-processing/ https://gohugo.io/content-management/image-processing/
- wtetzner 6y agoAccording to the README, Zola has image processing support. Not sure exactly what that means though.
- kylegill 6y agoThis is (unsurpisingly) a difficult problem to solve. I've been trying to help my colleague at Gatsby (a React based framework that uses static site generation) with improvements to the image optimization API Gatsby includes with its image plugins. Just when you think you've handled every edge case, you have to account for screen pixel densities, better ways to infer sizes and srcSet attributes on picture tags, browsers with or without modern features for loading images in better.. it's no small task! (I'm obviously biased but I think Gatsby's solution is pretty good now)