cropt icon indicating copy to clipboard operation
cropt copied to clipboard

Question - Is it possible to have boundaries editable? Similar to croppie?

Open NWaterbury opened this issue 10 months ago • 1 comments

Heya,

Is it possible to have the boundaries editable by the user, similar to how croppie does it?

Croppie example: https://jofftiquez.github.io/vue-croppie/

NWaterbury avatar Feb 06 '25 20:02 NWaterbury

Do you mean having the option for users to drag crop handles to change the viewport width/height ratio?

Cropt doesn't currently have this feature, mainly because it's complex to get right (e.g. in the Vue Croppie example you linked, if the image is zoomed to be wider than the boundary, you can drag the crop handle past the edge and then there's no way to get it back).

It is possible to add your own UI for dynamically changing the viewport ratio (like the sliders do on https://devtheorem.github.io/cropt/).

theodorejb avatar Oct 02 '25 21:10 theodorejb