You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
A cgi-bin python script that picks up a random image from a directory and its subdirectories and show it in a browser.
image-roulette.pyinto a directory named
- Navigate to the directory containing the
- Launch a server with the command:
$ python3 -m http.server --cgi
- Open your browser on: http://0.0.0.0:8000/cgi-bin/image-roulette.py
- Press ENTER to load a new image
- insert main directory and title of gallery as parameters
- add automatic mode (reload every x seconds)