K
K
KronosHD2015-09-21 15:48:22
JavaScript
KronosHD, 2015-09-21 15:48:22

How to make a photo album in JS?

Hello. I want to make a photo album that will take photos from one folder (so as not to enter each time you add a link). Does anyone know such a script.
PS Not necessarily in JS. Possible with PHP

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
stayHARD, 2015-09-21
@KronosHD

davidwalsh.name/generate-photo-gallery

U
ummahusla, 2015-09-21
@Antonoff

Open the folder you need and scan for files with the endings you need (png / jpg / jpeg), push these files into an array. Post a random photo. Ready.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question