/Photos-carousel-generator

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

Primary LanguagePythonOtherNOASSERTION

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: