advanced-cropper / react-advanced-cropper

The react cropper library that embraces power of the advanced cropper core to give the possibility to create croppers that exactly suited for your website design
https://advanced-cropper.github.io/react-advanced-cropper/
Other
626 stars 27 forks source link

Image is not viewed in full size based on the crop #56

Open TahaKhanAbdalli opened 6 months ago

TahaKhanAbdalli commented 6 months ago

We've noticed a default behavior in the React Advanced Cropper library that seems to be part of how the library works. The observed behavior is that upon uploading an image, the library automatically selects the center of the image with a specific width and height for the crop.

This behavior becomes more apparent when we upload an image and crop it. When we reopen the cropped image in the cropper, it consistently displays the image with a zoom, highlighting the crop area's outline. Unfortunately, it seems like this behavior is built into the library, and currently, we don't have the ability to change it. Any insights or guidance you can provide on this matter would be appreciated.

Screenshot 2024-01-18 at 12 55 05 PM
roscoej commented 6 months ago

+1 on this request!

Norserium commented 6 months ago

@TahaKhanAbdalli, I'm sorry, but I assume, that I didn't understand your issue completely. I think that you want to set the different default coordinates of the cropped area, and it's possible.

Norserium commented 1 month ago

@TahaKhanAbdalli, @roscoej, any news?