Can a folder containing all the images be chosen? | Sololearn: Learn to code for FREE!
0

Can a folder containing all the images be chosen?

when creating the image slide, won't be much easier if the image folder is chosen??

20th Jul 2017, 7:58 AM
Otumian Empire
Otumian Empire - avatar
4 Answers
+ 4
You can't access server folder using client side js. You have to use nodejs or php!
20th Jul 2017, 8:21 AM
Drax
Drax - avatar
+ 4
You have to use a server side language if you wanna access a folder on your server. You could use php glob("path") function to list all images in a folder (if it's what you want to do)
20th Jul 2017, 8:26 AM
Drax
Drax - avatar
0
for the slide show?
20th Jul 2017, 8:23 AM
Otumian Empire
Otumian Empire - avatar
0
thanks
20th Jul 2017, 10:47 AM
Otumian Empire
Otumian Empire - avatar