Curator

Static Image Gallery Generator
Download

Curator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Martin Blais
  • Publisher web site:
  • http://furius.ca/atocha/

Curator Tags


Curator Description

Static Image Gallery Generator Curator is a powerful Python script that allows you to generate web page image galleries with the intent of displaying photographic images on the Web, or for a CD-ROM presentation or archiving.It generates static web pages only - no special configuration or running scripts are required on the server. The script supports many file formats, hierarchical directories, thumbnail generation and update, per-image description file with any attributes, and 'tracks' of images spanning multiple directories.The templates consist of HTML with embedded Python. Running this script only requires a recent Python interpreter and the ImageMagick tools. If you've been looking for a simple yet very powerful script to do this task you've come to the right place.MotivationThere are many other worthy similar systems on the web. It seems everyone and their sister has been writing an image gallery generation script these days. Why did I write my own, mind you ask? Most of the existing ones required server customizations (PHP, cgi scripts) and thus will not work off of an archive CDROM, or required some annoying installation of some special image manipulation packages, or didn't support templating. Besides, I really wanted the tracks feature, and when I started diddling a prototype for the embedded Python execution within the template HTML, I thought it was so cool, I just had to do it.Another way to view the services that this script provides is this:* it gathers a per-directory, per-track, and global index of a hierarchy of files;* templates for each file, directory, track, all, are processed with embedded python code in the template running in a specialized environment for the page to generate, including access to the per-file attributes;* it knows about some image-specific stuff (thumbnails, alternate representations)You could probably easily retarget it to some other application (e.g. viewing hierarchies of animations, text files, mp3's, etc.). Here are some key features of "Curator": · on the client side: nothing more should be required than a web browser to use it; · on the server side: the web pages should be statically generated (no need for special server configuration, no cgi, no PHP, no Zope, no nonsense, just HTML); · all links are relative links (i.e. it should work when burned on a CDROM or moved); · the output HTML should be templated/themeable (i.e. the user can change the look of the output HTML). In fact, the templates themselves are written with embedded Python code in the HTML, the possibilities are endless; · each photograph can have arbitrary attributes associated to it, in a per-image attributes file. The script simply makes these available to the template code to take advantage of. For example, this is how you can include photo description, EXIF camera settings, or any other user-define attribute (just write a template that uses those); · thumbnails should be generated automatically, the thumbnails reside alongside the photos themselves; · can be created to fill in variables in the templates (e.g. title, description, camera settings, other); · tracks of images, independent (and across) of directories can be generated using the attributes file. The script compiles these list of images and they're available to the templates. This could be used, for example, to links are your "people", or "black and white" images together, each photograph can be part of one or more tracks; · a global, per-track and per-directory index page should be generated; · it should be simple to use (it should be able to work with a simple hierarchy of image files, with a trivial invocation, try it now, if it don't work, I've failed); · we're not assuming that the names of the files are unique across the hierarchy (for digital camera images); · supports many file formats; · it should be trivial to install, and portable (i.e. should not use more than what is available in base installs of most linux distributions). In this respect, thus this script only depends on the availability of... · Python, version 2 or more; · ImageMagick tools; Requirements: · Python · ImageMagick What's New in This Release: · Some changes for python-2.3 (not fully exploiting all the power of 2.3... yet). · Optional support for the PIL. · Made sure it runs under Windows again (tested under XP with the PIL). · Added detailed instructions for using under Windows.


Curator Related Software