+ 1
File adding via javascript. I need help.
Hello everybody! I need help. I created a gallery of images with the ability to add new users pictures. How to do so after clicking on the button will be opened the window, where the user can select a picture and added to the gallery? How to do it using javascript? Galleries created in html, css and javascript. Thanks your advice.
2 ответов
+ 15
<input type="file">
(not sure about js though, use toDataURL(); to read......)
+ 2
ValentinHacker, thank you so much. I'll try it.