+ 1
Can I request an image input in HTML?
So i was thinking about making a code that requires an image input. Is this possible? If yes, how can i implement it in my code?
6 ответов
+ 9
use
<input type="file">
+ 8
Niek Aukes try this code
https://code.sololearn.com/WE4tAf8yOAh3/?ref=app
+ 1
Flash nice
0
Thank you
0
Flash just found out, now i have to find a way to mable the inserted path the source of the image and when i print the value of the input, i also get C:\fakepath\filename
- 1
You can load an image thorught his url using an img tag