cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

How to set custom bounds when init/revert previous cropped result? #280

Open vivian7169 opened 6 years ago

vivian7169 commented 6 years ago

The scenarios like these:

  1. upload an image, cropped it, saved original image, bounds result and cropped image(base64) in browser cache
  2. leave current tab
  3. back to this tab, hope to view cropped image, original image with previous bounds settings.

Currently, when back to the tab, already can view cropped image, original image with bounds, but the bounds parameters are still default one.

Please advise. Thanks.