# create an index for image directories
# text only, no thumbnails

echo "<ul>"

for entry in `ls -XF` ; do 
	echo -n "<li><a href=\"${entry}\">"
	echo -n "${entry} "
	if [ -e thumb/${entry} ] ; then
		echo -n "<img src=\"thumb/${entry}\""
		echo -n " align=\"middle\" vspace=\"1\">" ;
	fi
	echo "</a></li>"
done

echo "</ul>"

