This page talk about PYStaticGallery
Generates a static html photo gallery from images. It's a Python script that generates a static html photo gallery from one or more directories of gif/jpg/png images. It supports themes and is very customizable. It includes the ability to display comments and `EXIF` informations for each image in a simple clean layout.
The `pystaticgallery` is mainly based on the `jigl Perl` script. But the `pystaticgallery` script is completely rewritten (pythonized) and have some more features. It's really easy to make an static html gallery with this script. Just run `pystaticgallery` in a directory that contains images. The script then make 3 directories, web, scale and info. The script make automatically the scales of the image. Actually the script needs to be used in the CLI interface. But we never know, it's been possible that later there would be a little GUI interface for these that have a need of.
You can look how the `pystaticgallery` looks like before you install it.
pystaticgallery is still in developpement, so some other features can been added. If you want some specific features, you can always communicate it to my so that in the next release these can be are added.
Before installing `pystaticgallery` you need to install some other stuff. It's all open sources software i use. If you have an GNU/Linux distribution, you can probably install these requirements with the package manager. If you use the deb file of the `pystaticgallery` the requirements are automatically installed.
If you have an Microsoft Windows system, you need to get the binary requirements.
You can download it for different systems.
Debian users can add an line to the /etc/apt/sources.list to get the latest deb version.
deb http://dvm.zapto.org:8080/debs
Then as root user update the packages list:
apt-get update
Not yet available. Need to build an standalone executable (py2exe) and an installer (nsis).
Not yet available. Like we are a bit short in space. I want to make a subversion reposition online. Actually we not directly provide here the source. You can easy get the source of the debian binary for example. It's just an Python script. Extract the deb file with '7-zip' (MS Windows and GNU/Linux) or 'ar' (GNU/Linux) for example.
pystaticgallery can be installed in different way, depending of the system you have. So refer you to the type of system you have.
If you have download the deb file manually. You can install the deb pystaticgallery. As root user execute the follow command:
dpkg -i pystaticgallery.x.x.x.deb
If you need to de install it completely and purge all his files, as root user do:
apt-get remove --purge
If you have add the above URL (See Download for Debian) in the /etc/apt/sources.list, you can easy install/remove/update the package as root user:
So you are sure you always get the latest version of the application.
Now install the wanted stuff:
apt-get install pystaticgallery
pystaticgallery does NOT work on versions of Windows before Windows 2000. This includes Windows ME, 98/95 and anything else that's not 2000 or XP. :)
Please make sure you have the required programs installed before trying to run pystaticgallery. You will need python, ImageMagick and jhead. If you don't have these please visit the website for links to the latest version of these programs and detailed instructions on getting pystaticgallery working under windows.
Note: These instructions are for Windows 2000. Windows XP will likely be similar but may not match exactly.
Changing the Environment: (or how your computer knows where programs are)
The PATH is a parameter that tells your computer where certain files live on your hard drive. By setting this parameter, you can simply type the name of a program at the command line and cause it to run. For example, if you open a command prompt and type notepad, the Windows Notepad program will start up.
In order for pystaticgallery to run, your computer needs to know where to find it.
Testing the install:
There are some notes in the INSTALL file...
Mostly you run the application from the image dir that you want to make an gallery for. But you can also give and path to image directory. That's useful for if you want to make an script to execute an bunch of different albums.
To get help:
pystaticgaller -h
Once the script is running, you see the progress, wait until done.
david@venus:~/pystaticgall/imgs$ pystaticgallery -it "Egypt 2006" -gd "Vacations of 2006 at Egypt." Checking the command line options. Creating the thumbs directory Creating the info directory Creating the slides directory Creating the slides directory Processing file 1 of 22 Creating the thumbnail image dscn0334.jpg Creating the slide image dscn0334.jpg Creating the info image dscn0334.jpg Generating the exif html info page for dscn0334.jpg Generating slide html file for dscn0334.jpg
Version 0.0.5:
Version 0.0.4:
Version 0.0.3:
Version 0.0.2:
Version 0.0.1:
| 6 | 2008-12-13 06:41:33 | view diff |
| Initial |
2009-07-12 12:58:00
Turbogears 2 stable version has been released. Making our actual r00t and pyguicms project outdated. Work is ongoing to migrate the code to the new Turbogears 2 release. More
2009-02-14 16:02:00
The whole network could be unreachable for a few minutes caused by the ldap server migration at this specified moment. More
2009-01-15 12:35:00
The whole network will be unavailable from outside and this for all services (webserver, ftp, vpn)! More
User this form below to do a quick search.