TanTai92
TanTai92
How can I binding image by Base64?
@JackZeled0n : You mean I must using [decode base64](https://stackoverflow.com/questions/2820249/base64-encoding-and-decoding-in-client-side-javascript) before using defaultFile and using when I want to binding code from the database?
@JackZeled0n : I have a form and using Dropify for upload Avatar. So when I get an API from backend and the data for Image is base64. I'm trying decode...
@akshaysalekar108 : defaultFile: blobFunction() , You can create a function: blobFunction() and return decode URL to blob from your base64 like [this](https://stackoverflow.com/questions/16245767/creating-a-blob-from-a-base64-string-in-javascript)
you're welcome