Avatar of NAKBrooks
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Enabling user to choose image from webserver folder to display

I have a large number of archived images in a public folder on the web server. I want the user to be able to browse a list of the image files by filename and select one to be displayed.  This needs to be done using client-side JavaScript code only (no server-side code).

Basically I want to be able to populate a SELECT tag with the filenames of all files in the webserver folder.

What is the easiest way to do this?

Web Languages and StandardsScripting LanguagesJavaScript

Avatar of undefined
Last Comment

8/22/2022 - Mon