|
|
|
|
|
by danielecook
2227 days ago
|
|
Looks great! I did something similar with hugo and tried to automate the process as much as possible. 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... 2. https://www.danielecook.com/photos/ |
|
I ended up using sharp [1] since it was so easy to integrate into my workflow.
1. https://github.com/lovell/sharp