back to software
up to home

Download albumize.py - Web album builder


Download

Download albumize.py.

 Version 0.8, 01-Jan-2003

 7,135 bytes


About

 albumize.py
 Web album builder

 Version 0.8, 01-Jan-2003

 About:
  Creates a simple web album for all images in a
  directory. The album consists of one main webpage
  containing clickable thumnails and one webpage for
  each image containing 'next', 'prev' and 'up' links.
  A subdirectory for thumnails is created and all images
  are scaled down and copied there.

 Example album: Getty Album

 Requirements:
  Python 2.2
  Python Imaging Library 1.1.3
  Tested on FreeBSD 4.7 but expected to work on any
  Unixish or Windowie machine.

 Usage:
  Syntax:
    $ python albumize.py directory album_name
  Example:
    $ python albumize.py ~/sanfran_photos "San Fran"
  May want to edit constants in code below, specially
  COPYRIGHT

 Todo:
  o Allow resizing images for album and create album in
    'albumized' subdirectory
  o Be smart on incremental runs (avoid rebuilding
    thumbnails etc)
  o Use exif to extract datetime (possibly other info)
    and embed in image page
  o Use exif to extract all info and create 'info' page
    for each image linked from image page
  o Command linify constants
  o Design feature to add comment to image pages and
    album main page

 Copyright (c) 2003, Shalabh Chaturvedi

 Permission is hereby granted, free of charge, to any
 person obtaining a copy of this software and associated
 documentation files (the "Software"), to deal in the
 Software without restriction, including without 
 limitation the rights to use, copy, modify, merge, 
 publish, distribute, sublicense, and/or sell copies of 
 the Software, and to permit persons to whom the Software 
 is furnished to do so, subject to the following 
 conditions:

 The above copyright notice and this permission notice 
 shall be included in all copies or substantial portions 
 of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 
 KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
 THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
 CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
 IN THE SOFTWARE.