So I’m trying to upload a file(picture) by using netlify forms and it maybe does get uploaded?
But but I cannot see the uploaded file.
I can only see this:
As you can see the link to the actual picture is missing.
This doesn’t only happen with pictures it happens with every kind of file.
I’m trying to do this in react.
- Netlify site name: https://sleepy-payne-59c675.netlify.app/
Code for js file:
<form name="contact" action="/contact" method="post"> <input tpye="hidden" name="form-name" value="contact"></input> <input required type="file" name="file"/> <button type="submit">Poašalji</button>
code for HTML file:
<form name="contact" data-netlify="true" hidden> <input required type="file" name="file"/>