D
D
Daniel2017-03-08 13:52:24
JavaScript
Daniel, 2017-03-08 13:52:24

JS script to upload photos to gallery?

Hello, there is a portfolio site, it has a separate page with a ribbon of photos that you have to manually add to the html code all the time ...
But I would like the photos to be just uploaded to the images folder, and they themselves were uploaded to the site from it
Tell me please, where can I find a similar script in JS, or at least read how to write a similar one...
I'm not very strong in JS, so I can't write one myself yet...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2017-03-08
@Sunrise23

on zhs this task is not normally solved, tk. zhs does not have access to the server folders, but it is easily solved in php.

D
Dima Pautov, 2017-03-08
@bootd

You will not be able to find out the number of files, their names, etc. in the directory. Js on the client can't do that. It wasn't meant for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question