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

Encode a file form html <input> #23

Open
lazaro92 opened this issue Aug 5, 2016 · 0 comments
Open

Encode a file form html <input> #23

lazaro92 opened this issue Aug 5, 2016 · 0 comments

Comments

@lazaro92
Copy link

lazaro92 commented Aug 5, 2016

Hi,
when I chose a file from an input tag of html, I have acces to an array of File object. Every File object has tihs elements:

{ lastModified: 42342342 lastModifiedDate: Date ... name: "272.jpg" size: 46675 type: "image/jpeg" }
How can I access to the file and do a $base64.encode(file) of it's data?

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

1 participant