Skip to content

Upload a file in the controller without selecting it from template #706

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

Closed
einstyle opened this issue Jan 2, 2017 · 2 comments
Closed

Comments

@einstyle
Copy link

einstyle commented Jan 2, 2017

Hi,
I have an image in the controller ($scope.img_test = 'my_image.png') and I want to upload it without click on the "select file" button in the template. Some ideas?

@nervgh
Copy link
Owner

nervgh commented Jan 13, 2017

You could convert an Image to Blob and upload it.
See #208

@nervgh nervgh closed this as completed Jan 13, 2017
@thrinay
Copy link

thrinay commented Jun 21, 2017

May I please know if this issue actually is rectified, because I tried inserting the blob and didn't actually work with an existing image in the controller. I do will attach here the image of what the desired result should look like, and any advice or help is much more appreciated
Just the existing image should be dragged to the uploader. This is what the desired result is

screenshot from 2017-05-24 11-41-29

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

3 participants