Building Attractive Web Photo Galleries - page 3
Good News and Bad News
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.
- Skip Ahead
- 1. Good News and Bad News
- 2. Good News and Bad News
- 3. Good News and Bad News
- 4. Good News and Bad News
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.