/python-html-gallery

Python program for creating static HTML image galleries

Primary LanguagePythonMIT LicenseMIT

python-html-gallery

Python script to generate basic HTML image gallery pages from jpgs.

Installation

Requires Python Imaging Library - PIL or Pillow

Install with pip install PIL or easy_install PIL or build and install it from source.

Then git clone https://github.com/drduh/python-html-gallery

Use

Put jpgs or folders of jpgs into a directory specified in static.py

Then run python gallery.py to create thumbnails, gallery pages and an index page.

pcap.sh is an example shell script for generating jpgs from tcpflow/foremost for gallery content.