[brlug-general] view photos over http?

willhill williamhill2 at cox.net
Mon Oct 9 22:06:45 CDT 2006


Can you rsync?  If so, just sync your photo album.  

Here's my lazy, older method of doing what you want.  I use Konqueror's built 
in gallery maker or igal to make indexes.  Igal is a perl script, that uses 
Image Magic's convert to generate thumbnails and creates nice indexes that 
include javascript that downloads the next image while you are looking at the 
current.  It's easy to modify and make wrappers for.  I modified it to put 
the thumbnails in a directory called "ig_thumbs" and made a wrapper that used 
my favorite options and processed a list of directories, like this:

/*******************
count=1
while [ -n "$*" ]
do
      mkdir $1/ig_thumb
      /home/willhill/bin/igal -w 2 -r -a -c -y 300 --con "-quality 100" -d $1
      shift
      count=`expr $count + 1`
done
*******************/

You probably want to add another igal call before the final because the first 
call makes a caption file and exits.  It's used like this:

find -type d > list
~/bin/igal_list `cat list`

There are nicer packages like Digikam, but I'm not sure how well they export 
html like you want.  

On Monday 09 October 2006 13:50, Joe Fruchey wrote:
> I have a hosting account at DreamHost that was just upped to 400GB! So
> I want to move all my photos there as an off-site backup. ... 



More information about the General mailing list