@mikestratton have you done this thing
in controller
use file;
and in view
use this enctype="multipart/form-data"?
& define you screen shot location
I need to be able to take screenshot of an HTML element and upload as an image.
I have created a model, view and controller that allows me to add a file upload to any form. I also can take a screenshot of an HTML element using html2canvas.
What I cannot do is make it so that my captured screenshot becomes an uploaded image.
https://laracasts.com/discuss/channels/javascript/pass-value-from-js-function-to-blade-view-form
Please or to participate in this conversation.