Total Pageviews

Wednesday 6 July 2016

基于python的静态相册网站生成器:python-html-gallery

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

Python program for creating static HTML image galleries.

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.

from https://github.com/drduh/python-html-gallery