Image Crop - Circle | Community
Skip to main content
July 5, 2022
Solved

Image Crop - Circle

  • July 5, 2022
  • 1 reply
  • 1240 views

Hello - what is the most efficient way to crop a rectangle image into a circle, and if needed, move the focus (center) of the crop? For example, if I don't want the person's head cropped off I can move around the crops position over the image.  Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Css can be the solution for it

https://stackoverflow.com/questions/26421274/css-circular-cropping-of-rectangle-image 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 5, 2022
July 6, 2022

Thanks for this suggestion. Issue is images we use aren't always a perfect square, sometimes they are a rectangle. So if you use css and border-radius you get an oval. Is there a way using an AEM component to achieve a circle image crop, while also having the ability to move the crop position on the image? Appreciate the help!