Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Image Crop - Circle

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 1

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!