Hello everyone,
i need the member to be able to upload files via the front-end (png/jpg or pdf image type). So I created a form that contains the
<input type="file" id="inputFile" name="inputFile"/> tag.
These files need to be converted to base64, but to do this I need the client path of file. The problem arises from the fact that the path I acquire is something like this:
C:\fakepath\filename.jpg.
How can this problem be circumvented? An alternative idea on file upload?
Thank you very much.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/113552-fakepath