Answer the question
In order to leave comments, you need to log in
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
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.
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 questionAsk a Question
731 491 924 answers to any question