Blog.

Picture perfect cropping with hotspots

Cover Image for Picture perfect cropping with hotspots
Indra Santosa
Indra Santosa

I’m deciding how to crop an image for any aspect ratio using the Sanity’s hotspot and cropping feature. It’s for art direction for frontends. There's a post on CSS-tricks on how to do it if you want to see examples of it in action.

Or, check it out yourself in the studio. Play with how hotspots and cropping can alter the way the image looks on this post, and explore how easy it is to adjust and preview for the perfect fit.

Comments:


  • Steve from agency-site.test ()

    First of all, I'd like to say "First!" Second, I'd like to add that it's a pretty cool feature for a headless CMS. My clients don't really know how to crop images before uploading, so maybe this will help them use properly art-directed images.



More Stories

Cover Image for Explorations powered by structured content

Explorations powered by structured content

Indra Santosa
Indra Santosa
Cover Image for My first introduction to portable text

My first introduction to portable text

Indra Santosa
Indra Santosa