Album - Photo gallery generator which has theme support
From NAS-Central Buffalo - The Linkstation Wiki
m (→FreeLink) |
(Remove stub status) |
||
| (12 intermediate revisions not shown) | |||
| Line 39: | Line 39: | ||
==Requirements== | ==Requirements== | ||
Minimum Requirements | Minimum Requirements | ||
| - | #[[w:Apache HTTP Server|Apache]] or [[w:Lighttpd|Lighttpd]] or [[w:Thttpd|Thttpd]] | + | #[[w:Apache HTTP Server|Apache]] or [[w:Lighttpd|Lighttpd]] or [[w:Thttpd|Thttpd]] look at the following articles for pointers: |
| - | ## [[ | + | ## [[LLMP]] or [[LAMP]] |
| - | + | ||
| - | + | ||
## [[Run a second instance of thttpd (on an alternate port) ]] | ## [[Run a second instance of thttpd (on an alternate port) ]] | ||
#[[w:Perl|Perl]] and the script for MarginalHacks:Album<ref>http://marginalhacks.com/Hacks/album/Download.html MarginalHacks: Album Download</ref> | #[[w:Perl|Perl]] and the script for MarginalHacks:Album<ref>http://marginalhacks.com/Hacks/album/Download.html MarginalHacks: Album Download</ref> | ||
| Line 51: | Line 49: | ||
# jhead (for reading EXIF info)<ref>[http://marginalhacks.com/redir.cgi?www.sentex.net/~mwandel/jhead/ jhead: Exif Jpeg header and thumbnail manipulator program]</ref> | # jhead (for reading EXIF info)<ref>[http://marginalhacks.com/redir.cgi?www.sentex.net/~mwandel/jhead/ jhead: Exif Jpeg header and thumbnail manipulator program]</ref> | ||
| - | ==Install | + | ==Install== |
===FreeLink=== | ===FreeLink=== | ||
| - | + | apt-get install jhead ffmpeg album | |
| - | ===OpenLink | + | |
| - | + | ===OpenLink=== | |
| - | + | {{Warning|'''''Untested'''''<br> if someone wants to test this out on the [[:Category:LS1|LS1]] and [[:Category:LS2|LS2]] running [[OpenLink]] and remove this warning banner that would be great }} | |
| - | + | ====MIPsel==== | |
| - | + | You'll have to compile everything from source for the MIPSel Linkstation. This would probably work fine on any LinkStation, [[OpenLink]] or [[FreeLink]] but it takes FOREVER to compile imagemagik | |
| - | + | ||
| - | + | *Install the [[Precompiled C development environment, running on the LS]] | |
| - | + | *Install imagemagik from source.<ref>[http://www.imagemagick.org/script/install-source.php#unix ImageMagick: Install from Source]</ref> | |
| - | + | ||
| - | + | ||
| - | == | + | |
| - | = | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
Download ImageMagick.tar.gz from [ftp://ftp.imagemagick.org ftp.imagemagick.org] or its mirrors and unpack it with this command: | Download ImageMagick.tar.gz from [ftp://ftp.imagemagick.org ftp.imagemagick.org] or its mirrors and unpack it with this command: | ||
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz | wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz | ||
| Line 85: | Line 70: | ||
make install | make install | ||
| - | + | *Install jhead | |
| - | + | wget http://www.sentex.net/~mwandel/jhead/jhead-latest.tar.gz | |
| - | + | tar -xvzf jhead-latest.tar.gz | |
| + | cd jhead-?.? | ||
| + | make | ||
| + | chmod +x jhead | ||
| + | cp jhead /usr/local/bin | ||
| - | === | + | *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 | ||
| + | |||
| + | ====PowerPC==== | ||
| + | *Install the [[Precompiled C development environment, running on the LS]] (to get [[w:Perl|Perl]]) | ||
| + | *Install [[Ipkg on the Linkstation (for end-users)]] and enable the NSLU2 Feed: [[Ipkg Package List: PowerPC]] | ||
| + | *Install imagemagick and ffmpeg | ||
| + | ipkg install imagemagick | ||
| + | ipkg install ffmpeg | ||
| + | |||
| + | *Install jhead | ||
| + | wget http://www.sentex.net/~mwandel/jhead/jhead-latest.tar.gz | ||
| + | tar -xvzf jhead-latest.tar.gz | ||
| + | cd jhead-?.? | ||
| + | make | ||
| + | chmod +x jhead | ||
| + | cp jhead /usr/local/bin | ||
| + | |||
| + | *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 111: | Line 120: | ||
==References== | ==References== | ||
<references/> | <references/> | ||
| - | |||
Latest revision as of 23:35, 25 December 2007
|
|
|
|
|
|
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]
There are a few photo gallery alternatives:
Requirements
Minimum Requirements
- Apache or Lighttpd or Thttpd look at the following articles for pointers:
- Perl and the script for MarginalHacks:Album[3]
- Imagemagick tools (specifically 'convert')
Optional Installation
Install
FreeLink
apt-get install jhead ffmpeg album
OpenLink
if someone wants to test this out on the LS1 and LS2 running OpenLink and remove this warning banner that would be great |
MIPsel
You'll have to compile everything from source for the MIPSel Linkstation. This would probably work fine on any LinkStation, OpenLink or FreeLink but it takes FOREVER to compile imagemagik
- Install the Precompiled C development environment, running on the LS
- Install imagemagik from source.[6]
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 jhead
wget http://www.sentex.net/~mwandel/jhead/jhead-latest.tar.gz tar -xvzf jhead-latest.tar.gz cd jhead-?.? make chmod +x jhead cp jhead /usr/local/bin
- 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
PowerPC
- Install the Precompiled C development environment, running on the LS (to get Perl)
- Install Ipkg on the Linkstation (for end-users) and enable the NSLU2 Feed: Ipkg Package List: PowerPC
- Install imagemagick and ffmpeg
ipkg install imagemagick ipkg install ffmpeg
- Install jhead
wget http://www.sentex.net/~mwandel/jhead/jhead-latest.tar.gz tar -xvzf jhead-latest.tar.gz cd jhead-?.? make chmod +x jhead cp jhead /usr/local/bin
- 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
MarginalHacks/Album: MINI HOW-TO[7]
Simple album
Add captions
Hiding Photos
Using A Theme
Medium images
Adding some EXIF captions
Adding more albums
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
- ↑ jhead: Exif Jpeg header and thumbnail manipulator program
- ↑ ImageMagick: Install from Source
- ↑ marginalhacks.com Album Documentation: MINI HOW-TO

