by danielecook · 6y ago · 0 comments
I use a utility called jhead to resize, fix rotation issues, and rename photos by date - then I tied this to a folder action on macos so I can just drop photos in a folder and they get renamed and resized.
Then Hugo has this cool 'smart' cropping feature which tries to crop based on content [1] - and the end result is now all I do is drop photos in a folder and publish and it comes out looking pretty good [2].
1. https://gohugo.io/content-management/image-processing/#image...
I ended up using sharp [1] since it was so easy to integrate into my workflow.