Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.15 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.15 KB

Photos carousel generator

Python script that automatically generates html page that displays photos carousel based on images found inside a folder.


TYPES OF IMAGES SUPPORTED:

.jpg, .png, .bmp


CONFIGURATION Lines:

PHOTOS_FOLDER_LOCATION = 'full photos folder location' HTML_TEMPLATE_FILE = 'html template that will be used to generate carousel' HTML_OUTPUT = 'Output html file generated with carousel'

Example configuration under Windows S.O enviroment:

PHOTOS_FOLDER_LOCATION = '/path/to/images/' HTML_TEMPLATE_FILE = '/path/to/template.html' HTML_OUTPUT = '/path/to/output.html'


EXECUTE SCRIPT:

Simply execute script through console:

photos.py

Example execution under Windows S.O enviroment:

python.exe photos.py


SCREENSHOTS: