I have this scenario to reproduce an HTML implementation for 100+ images of different names.
myPackageDirectory
- index.html
- some_name.png
- script/css files
Currently, I have to manually do the following
- pick each image file from pool,
- place it into the packageDirectory, then
- rename it to static img.png, then
- package(zip) the iteration.
I wish to skip renaming part from xyz.png --> img.png by something like <img src="*.png" />
kind of thing.
"Client-side method"
I've used python to automate iterations, but
am looking for some html/js way to pick file just by extension