When researching how to build Bugo I both Forestry and Netlify had and option for using Cloudinary.com as a media CDN. So I signed up for an account and thought it was great. I incorporated their transformations for creating large hero graphics, small post thumbnails, even shapes, but I was missing out on a feature that blew my mind.
Cloudinary’s transforms have a AI that can do some really great things. I had a website that I was building that had large graphics of people at the top of the page. Some 40 pages would mean cropping the images in a way that limited the way would make great hero’s but also thumbnails. I was not looking forward to a couple hours of image editing.
I flashed to the Cloudinary documentation and remembered a short section on faces and found what I needed. Their AI can detect faces and crop on those faces. All I had to do was add a another transformation attribute.
That allowed me to take this:
And make a hero graphic
And a thumbnail