Skip to content

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

License

Notifications You must be signed in to change notification settings

fernandod1/Photos-carousel-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published