GithubHelp home page GithubHelp logo

pgal's Introduction

PGAL

A static web gallery generator. If you have some pictures on your hard drive and want to publish them as a static web gallery site. PGAL can help you do this.

Quick start guide

  • Install Python

    • If working with GNU/Linux or Mac, Python should be already installed
    • If working with Windows, an option to have Python is to install Cygwin: http://cygwin.com, and select Python as a part of installation
    • Another option is to download and install Python via the official site: http://python.org/downloads/
  • Install pip, lxml package for Python

  • Use Python to run pgal.py, show the help pgal.py --help

  • PGAL will use the drive folder tree as the gallery website tree map, and use the folder/file name as website links. Therefore, a properly arranged and named folder with pictures inside will be helpful to generate a tidy clear gallery site. See sample0 for an example gallery folder.

  • To try sample0 gallery, which is included as a sample in PGAL release package, run pgal.py like this: pgal.py -t ./sample0 -r ./sample0.xsl -i index.html -j ./js/jquery.js,./js/slimbox2.js -c ./css/slimbox2.css

  • The command line above will generate a static website in folder sample0 if nothing go wrong. The generated sample0 gallery can be viewed from here: http://viewplatgh.github.io/pgal-demo/sample0/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.