#! /bin/ksh

target=index.html

if test -r "$target"
then
	echo "$0: target exists: $target"
	exit
fi

for i in *.gif *.jpg *.png *.bmp
do
	if test -r "$i"
	then
		echo "<img title='$i' src='$i'>"
	fi
done > $target
