Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropper having issue while click on 'Done' button #30

Closed
irushabh opened this issue Oct 18, 2021 · 6 comments · Fixed by #31
Closed

Cropper having issue while click on 'Done' button #30

irushabh opened this issue Oct 18, 2021 · 6 comments · Fixed by #31

Comments

@irushabh
Copy link

irushabh commented Oct 18, 2021

My Project Version: .NET 5.0

image

image

@Chronostasys
Copy link
Owner

Hi irushabh, are you using blazor server side? Blazor.Cropper is designed to crop image on frontend only. Blazor server side relies heavily on signalR, which may break on transferring large image data. If you still want to try it on server side, try some smaller image or set signalr MaximumReceiveMessageSize larger.

@irushabh
Copy link
Author

Hello,
Thanks for your reply. Yes, I am on Server Side Blazor, and you're right on server side it's causing breaking signalR connection, but I just find a way by using the PureCSharpProcessing="true".

Now it's working fine actually with bigger image as well.

Thanks,
Rush

@Chronostasys
Copy link
Owner

That's very interesting, I shall document this behavoir later. Thanks for your feedback.

@irushabh
Copy link
Author

Hello,

yes, it's strange though. Try PureCSharpProcessing="true" and use image that has size more than 5 MB.

it works.

Little slow but do the job.

@NandKishor009
Copy link

NandKishor009 commented Aug 9, 2023

Hello @Chronostasys this code not working for me when crop the 500kb image can you help me ?

@Chronostasys
Copy link
Owner

Hello @Chronostasys this code not working for me when crop the 500kb image can you help me ?

Hi @NandKishor009 , did you set MaximumReceiveMessageSize > 500KB?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants