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

Image tag is treating base64 as url #53

Closed
nakulthaware opened this issue Sep 24, 2019 · 2 comments
Closed

Image tag is treating base64 as url #53

nakulthaware opened this issue Sep 24, 2019 · 2 comments

Comments

@nakulthaware
Copy link

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 )
@Agontuk
Copy link
Owner

Agontuk commented Oct 2, 2019

@Agontuk
Copy link
Owner

Agontuk commented Apr 15, 2020

Closing due to inactivity

@Agontuk Agontuk closed this as completed Apr 15, 2020
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

No branches or pull requests

2 participants