You’d have to have some server code to generate a list, and then load that list dynamically, or embed it in the HTML if you’re ok with it not picking up new images during the lifetime of the page. How you’d do that depends on your server configuration and what you have available to use there.