#!/bin/sh
#
# browse-image: script to view an image in a browser, meant to be invoked
# from 'captivate'
#
# Gerald Oskoboiny, 6 Mar 2002
#
# source: http://impressive.net/software/photo/source/browse-image
#
# $Id: browse-image,v 1.4 2002/08/08 03:58:03 gerald Exp $
#

temp=/tmp/bi.$$.html; export temp

cat>$temp <<EOHD

<title>browse-image: $1</title>

<img src="$1" height="300">

EOHD

galeon --existing --noraise $temp

( sleep 5 ; rm -f $temp ) &


#
# changelog:
# $Log: browse-image,v $
# Revision 1.4  2002/08/08 03:58:03  gerald
# added a pointer to the source url
#
# Revision 1.3  2002/05/06 21:23:08  gerald
# switched to galeon
#
# Revision 1.2  2002/04/29 04:41:20  gerald
# define and reuse temp filename; added changelog
#
#

