Agontuk/vue-cropperjs

Image tag is treating base64 as url

nakulthaware opened this issue · 2 comments

I am selecting an image file. Then reading the file as data url through FileReader's onload event.
sending this to cropper which is base64 string. So in init function base64 string is treated as url by img tag. this gives error in load functions xhr call.

  1. select image from local drive
  2. set to cropper using cropper.replace(<image_base64_string>)
  3. image get applied/set to cropper
  4. Observed cropper making http get call to <image_base64_string> (need to avoid this behaviour )

Closing due to inactivity