Hi - I’ve been searching the forums and the internet for a while now; I can not seem to find a simple way to add a component that lets users crop photos.
I want my users to be able to crop their photos before or after they upload an image, but limit the crop dimensions to 1:1 (essentially, they are only allowed to crop a square portion of the image, not a rectangle).
Does anyone have any advice or step by step on how to do this? I checked Adalify but the way their uploader works is a bit complex.
I use this for almost all images now. For profile pics the face detection works very well. For example:
$URL&auto=compress&fit=crop&w=30&h=30&dpr=2&crop=faces
Thank you. I see, so you could pre-set a crop to be done on the centre of the image for example. Unfortunately, this will not do for what we are trying to achieve as the user needs to control where the crop happens.
A crop function seems like a straightforward request, do you know if anyone who could build this component?