Hal W Canary 3

A trip to the arboretum on 2002-08-25

Back to Photos.

Useful scripts that helped me make this little page:


if [ "$#" -lt 2 ]; then
    echo "Usage:  thumb.sh source thumbnail" ; exit 1  

convert -size 120x120 $1 -resize 120x120 +profile "*" $2
echo  "<p><a href=\"$1\" ><img alt=\"\" src=\"$2\" /></a></p>"

Run this command:

$ mkdir thumb
$ for x in *.jpg ; do thumb.sh $x thumb/$x ; done

And take the output and paste it into a html document.

file modification time: 2004-04-05 05:22:22

Copyright 1997-2013 by Hal Canary.
mailto: halcanary at gmail dot com