Any Example for Cropping image?


#21

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.


#22

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


#23

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


#24

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


#25

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