PyGallery is a free program for generating static html-based picture galleries for the web. A gallery is an index page containing thumbnail images, that display the picture when you click on them. You can create slideshows, recursively process nested directories, automatically reduce large pictures to screen size and upload it to an FTP server. By default, only the new or changed pictures are processed, reducing the computation load for large archives. PyGallery is highly customizable, open source, provides a GUI (Graphical User Interface) but can also be run entirely from the command line. It is written in Python and was tested on Linux, Mac OS X and Win32. Licence: GPL.


  • Free Software (GPL). Python source code
  • cross-platform: Linux, Mac OS X and Win32
  • Graphical User Interface or Comand Line usage
  • different gallery styles: Normal, Dynamic Thumbnail, Thumbnail column
  • customizable into the smallest detail
  • slide shows
  • process nested directory recursively
  • intelligent update of the gallery
  • add captions to your photos (supports ACDSee descript.ion or text files)
  • automatic FTP upload
  • reduce large photos to fit on XGA screens
  • supports 28 different image formats (JPEG, PNG, TIFF, GIF, BMP, TGA, PCX, PDF, EPS, PS, DIB, CUR, ICO, IM, MIC, DCX, FLI, FLC, FPX, GBR, GD, MSP, PCD, PPM, PSD, SGI, SUN, XBM, XPM)


  1. install Python 2.2 or later. This is the programming language PyGallery is written in, and is already installed in most distributions
  2. install PIL, the Python Image Library
  3. install PyGallery from source or rpm (to be done)
Mac OS X
  1. install MacPython-OSX 2.3 or later. This is the programming language PyGallery is written in, and version 2.3 or later is required for the graphical user interface to work.
    The Mac install procedure will become much easier with Mac OS 10.3 (Panther), which comes with Python 2.3 preinstalled
  2. install TkTclAqua. These are the elements used for the graphical user interface
  3. run PacketManager in the MacPython folder and install PIL and TkInter with it. PIL is the Python Image Library and TkInter is the GUI interface
  4. install PyGallery. This is done in the standard way, by opening the disc image and copy the application by dragging it to the desired position.
  5. ensure that Python scripts are loaded with the new PythonLauncher
  1. download and install PyGallery with the installer, or by source
  1. install Python
  2. install PIL and, if you are on Mac OS X,TkInter
  3. extract the source distribution of PyGallery, go to that directory and run



last modified 2003-09-21 by D. Haertle