October 25, 2014
 
 
RSSRSS feed

Building Attractive Web Photo Galleries - page 3

Good News and Bad News

  • December 20, 2004
  • By Carla Schroder
This example page contains links to multiple albums. The easiest way to manage multiple albums is to have a master directory containing subdirectories of images, one subdirectory per album, like this:

$ tree -d -L 1 albums
albums
|-- homestead
|-- homestead2
`-- outdoors

Album will traverse all the subdirectories and create the albums. This also demonstrates Album's themes; the theme used in this example is W_Peterman.

The default theme is rather plain, as this shows. I prefer plain, but Album comes with a bale of different themes for those who want to jazz things up a bit. The themes are stored in /usr/share/album/themes or thereabouts. Copy the folder containing the theme you want to the same directory level as your main albums folder, like this:

W_Peterman
albums
|-- homestead
|-- homestead2
`-- outdoors

Then use the -theme and -theme_path options to apply the theme:

$ album -theme W_Peterman -theme_path=W_Peterman albums

Then, when you upload to your Web site, be sure to maintain the exact same directory structure.

When you preview your cool Web photo album on your computer before uploading, some of the links won't work. Don't worry about it, they'll sort themselves out after uploading.

Sitemap | Contact Us