Album - Photo gallery generator which has theme support
From NAS-Central Buffalo - The Linkstation Wiki
m (→OpenLink (PowerPC)) |
m |
||
| Line 1: | Line 1: | ||
| - | {{Articles|Debian|Mediaserver}} | + | {{Articles|Debian|Mediaserver|OpenLink|Ipkg}} |
| - | + | <table align=right> | |
| + | <tr> | ||
| + | <td align=center colspan=2> | ||
| + | http://www.imagemagick.org/image/logo.jpg | ||
| + | </td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td> | ||
| + | http://davepics.com/Theme_Album/tn/Dominatrix6.jpg | ||
| + | </td> | ||
| + | <td> | ||
| + | http://download.freshmeat.net/screenshots/181_thumb.gif | ||
| + | </td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td align=center colspan=2> | ||
| + | <small>[http://freshmeat.net/screenshots/181/181/ freshmeat.net: Screenshot of project album]</small> | ||
| + | </td> | ||
| + | </tr> | ||
| + | </table> | ||
==What is it?== | ==What is it?== | ||
'''Album''' - <ref>http://marginalhacks.com/Hacks/album/</ref> An HTML photo album generator that supports themes. It takes directories of images and creates all the thumbnails and HTML that you need. | '''Album''' - <ref>http://marginalhacks.com/Hacks/album/</ref> An HTML photo album generator that supports themes. It takes directories of images and creates all the thumbnails and HTML that you need. | ||
| Line 22: | Line 41: | ||
# [[w:ffmpeg|ffmpeg]] (for movie thumbnails) | # [[w:ffmpeg|ffmpeg]] (for movie thumbnails) | ||
| - | == | + | ==Install Imagemagik== |
| + | |||
===FreeLink=== | ===FreeLink=== | ||
| - | + | Skip ahead to [[#Install Album]], apt-get will resolve all dependancies for you | |
| - | ===OpenLink (PowerPC)=== | + | ===OpenLink(PowerPC)=== |
| - | + | ||
| - | + | ||
#Install [[Ipkg on the Linkstation (for end-users)]] and enable the NSLU2 Feed: [[Ipkg Package List: PowerPC]] | #Install [[Ipkg on the Linkstation (for end-users)]] and enable the NSLU2 Feed: [[Ipkg Package List: PowerPC]] | ||
#Install imagemagick | #Install imagemagick | ||
ipkg install imagemagick | ipkg install imagemagick | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
===OpenLink (MIPSel)=== | ===OpenLink (MIPSel)=== | ||
{{Warning|Untested}} | {{Warning|Untested}} | ||
| Line 52: | Line 60: | ||
./configure | ./configure | ||
make | make | ||
| - | If ImageMagick configured and compiled without complaint, you are ready to install it on your system. | + | If ImageMagick configured and compiled without complaint, you are ready to install it on your system. You need to be root to install. To install, type: |
make install | make install | ||
| - | + | ==Install Album== | |
| + | ===FreeLink=== | ||
| + | apt-get install album | ||
| + | ===OpenLink=== | ||
| + | {{Warning|Untested}} | ||
| + | Download and run Album | ||
wget http://marginalhacks.com/bin/album.tar.gz | wget http://marginalhacks.com/bin/album.tar.gz | ||
tar -xvzf album.tar.gz | tar -xvzf album.tar.gz | ||
| Line 61: | Line 74: | ||
cp album /usr/local/bin/ | cp album /usr/local/bin/ | ||
chmod 0755 /usr/local/bin/album | chmod 0755 /usr/local/bin/album | ||
| - | |||
==Running Album== | ==Running Album== | ||
===Directory=== | ===Directory=== | ||
| - | *You need a web directory to put themes and your photo album.<ref>[http://marginalhacks.com/Hacks/album/Docs/Section_2.html marginalhacks.com Album Documentation: MINI HOW-TO]</ref> eg: <tt>/home/httpd/test</tt> the URL will be: http://myserver/test/ | + | *You need a web directory to put themes and your photo album.<ref>[http://marginalhacks.com/Hacks/album/Docs/Section_2.html marginalhacks.com Album Documentation: MINI HOW-TO]</ref> eg: <tt>/home/httpd/test</tt> the URL will be: <font color=blue> <nowiki>http://myserver/test/</nowiki></font> |
| - | + | ||
*First create a directory and put some images in it. We'll call this: <tt>/home/httpd/test/Photos</tt> | *First create a directory and put some images in it. We'll call this: <tt>/home/httpd/test/Photos</tt> | ||
| - | |||
===Using A Theme=== | ===Using A Theme=== | ||
| - | + | I use this theme: | |
| - | I use this theme:< | + | <table> |
| + | <tr> | ||
| + | <td> | ||
http://davepics.com/Theme_Album/tn/Dominatrix6.jpg | http://davepics.com/Theme_Album/tn/Dominatrix6.jpg | ||
| - | + | </td> | |
| - | + | </tr> | |
| - | + | <tr> | |
| + | <td align=center> | ||
| + | <small>[http://davepics.com/Examples/Dominatrix6.html Dominatrix6]</small> | ||
| + | </td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | Use wget to get and install this theme | ||
| + | mkdir /home/httpd/Themes/ | ||
| + | cd /home/httpd/Themes/ | ||
| + | wget http://marginalhacks.com/Hacks/album/Themes/Dominatrix6.tar.gz | ||
| + | tar -xvzf Dominatrix6.tar.gz | ||
| + | rm Dominatrix6.tar.gz | ||
To use a theme, download the theme .tar or .zip and unpack it. | To use a theme, download the theme .tar or .zip and unpack it. | ||
| - | Themes are found according to the -theme_path setting, which is a list of places to look for themes. Those paths need to be somewhere under the top of your web directory, but not inside a photo album directory. It needs to be accessible from a web browser. | + | Themes are found according to the <tt>-theme_path</tt> setting, which is a list of places to look for themes. Those paths need to be somewhere under the top of your web directory, but not inside a photo album directory. It needs to be accessible from a web browser. |
| - | You can either move the theme into one of the | + | You can either move the theme into one of the <tt>theme_path</tt>-s that album is already using, or make a new one and specify it with the <tt>-theme_path</tt> option. |
Then call album with the <tt>-theme</tt> option, with or without <tt>-theme_path</tt>: | Then call album with the <tt>-theme</tt> option, with or without <tt>-theme_path</tt>: | ||
| Line 92: | Line 115: | ||
==References== | ==References== | ||
<references/> | <references/> | ||
| + | {{Stubs}} | ||
Revision as of 17:58, 7 September 2006
|
|
|
|
|
|
Contents |
What is it?
Album - [1] An HTML photo album generator that supports themes. It takes directories of images and creates all the thumbnails and HTML that you need.
Album is a perl script, which means you need to be comfortable with or prepared to use the command-line. If you just want a point-and-click, you may wish to look elsewhere. Features:
- You can use themes to choose or redesign the album "look and feel."
- Recursively descends directories to make a hierarchy of photo albums
- EXIF support, Video thumbnails...
- Has a plugin system that allows you to write perl code to alter the behavior of album.
- Slideshows, transparent overlays, credit tags, easy captions, and endless features!
Look here for documentation: http://marginalhacks.com/Hacks/album/Docs/ [2]
Requirements
Minimum Requirements
- Apache or LightHTTPD or Thttpd
- The album perl script[3]
- Imagemagick tools (specifically 'convert')
Optional Installation
Install Imagemagik
FreeLink
Skip ahead to #Install Album, apt-get will resolve all dependancies for you
OpenLink(PowerPC)
- Install Ipkg on the Linkstation (for end-users) and enable the NSLU2 Feed: Ipkg Package List: PowerPC
- Install imagemagick
ipkg install imagemagick
OpenLink (MIPSel)
- Install the Precompiled C development environment, running on the LS (to get Perl)
- Install imagemagik from source.[5]
Download ImageMagick.tar.gz from ftp.imagemagick.org or its mirrors and unpack it with this command:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz tar -xvzf ImageMagick.tar.gz
Next configure and compile ImageMagick:
cd ImageMagick-6.?.? ./configure make
If ImageMagick configured and compiled without complaint, you are ready to install it on your system. You need to be root to install. To install, type:
make install
Install Album
FreeLink
apt-get install album
OpenLink
Download and run Album
wget http://marginalhacks.com/bin/album.tar.gz tar -xvzf album.tar.gz cd album-3.12 mkdir -p /usr/local/bin cp album /usr/local/bin/ chmod 0755 /usr/local/bin/album
Running Album
Directory
- You need a web directory to put themes and your photo album.[6] eg: /home/httpd/test the URL will be: http://myserver/test/
- First create a directory and put some images in it. We'll call this: /home/httpd/test/Photos
Using A Theme
I use this theme:
|
|
Use wget to get and install this theme
mkdir /home/httpd/Themes/ cd /home/httpd/Themes/ wget http://marginalhacks.com/Hacks/album/Themes/Dominatrix6.tar.gz tar -xvzf Dominatrix6.tar.gz rm Dominatrix6.tar.gz
To use a theme, download the theme .tar or .zip and unpack it.
Themes are found according to the -theme_path setting, which is a list of places to look for themes. Those paths need to be somewhere under the top of your web directory, but not inside a photo album directory. It needs to be accessible from a web browser.
You can either move the theme into one of the theme_path-s that album is already using, or make a new one and specify it with the -theme_path option.
Then call album with the -theme option, with or without -theme_path:
album -theme Dominatrix6 /home/httpd/test/Photos album -theme Dominatrix6 -theme_path /home/httpd/Themes/ /home/httpd/test/Photos
Medium images
Full resolution images are usually too big for a web album, so we'll use medium images on the image pages:
album -medium 33% /home/httpd/test/Photos
References
- ↑ http://marginalhacks.com/Hacks/album/
- ↑ MarginalHacks Album Documentation
- ↑ http://marginalhacks.com/Hacks/album/Download.html MarginalHacks: Album Download
- ↑ Davepics.com - Snapshots of all Album themes
- ↑ ImageMagick: Install from Source
- ↑ marginalhacks.com Album Documentation: MINI HOW-TO
| This article is currently a stub. You can help this Wiki by expanding it . This template will categorize articles that include it into Category:Stubs. |

