Daily Archives: June 6, 2007

Creating complex albums, combining existing albums into one master album

Maintaining large albums and combining existing ones into one can be a bit more complicated. If you have a large number of albums already added to the site you might not want to rebuild the whole album again each time you add new albums. In this case you can handle the sub-albums individually and finally make a master album of all. This technique has some drawbacks though:

  • When creating the master album JAlbum does not process the sub-albums, thus cannot compute the number of images inside them. You will see: Trip to London (0 images).
  • You will have duplicate ‘guestbook’ folders in each subalbum — need to be managed individually.

(more…)

Using console mode with Chameleon

JAlbum can be controlled from the command line (known as Console Mode), and generally accepts the same parameters that you are able to set through the graphical user interface (GUI).

There is a lot of Console Mode information readily available on the JAlbum website (see http://jalbum.net/consolemode.jsp , which gives the list of allowed parameters and their defaults) and JAlbum Forum (for examples, see Automatically process sub-Projects and Making a multi-skin album in one pass). Note that the command line and GUI do not exactly mirror each other, and that there are some oddities to be aware of (ie the “Ignore Pattern” is one). User-defined variables are passed as -user.yourVariable “Value”, while skin-defined variables have a -skin prefix.

(more…)