Is there a way to crop custom coordinates using the React/NextJS SDK?

Options
devsatnakuru
devsatnakuru Member Posts: 4

Hi!

We use the nextJS component for displaying cloudinary images which works great. We want to build in the ability for admins to crop and move images around for profile pictures, which gives us a "zoom/scale" value and an x/y coordinate. It looks like both are supported via API, but not clear how we'd do this in our react components. Any ideas?

It looks like we can use zoom with custom coordinates here — https://next.cloudinary.dev/cldimage/configuration#zoom

Cheers

Answers