Any Example for Cropping image?

Nothing jumps out to me as something that would make the page reload. The only think I can think of is if you have some kind of reactive logic in a parent template that relies on a reactive variable that you are setting within the change event.

Yes, I used to store image in session variable. but without that I was not able to show image after the page realoads.

gm should solve your case, see how we’re using gm to crop and resize images after upload

1 Like

Thanks @dr.dimitru, I am working on it.

Try sharp (npm). It works very fast and stable.