#!/bin/sh
f=$1;
if [ ! -f $f.cfg ]; then
D=local/present/multimedia
F=`ls $D/*.jpg`;
echo "<link rel=stylesheet href=cfg/s5/special.css>" > $f.cfg
for x in $F; do
echo "<s5>" >> $f.cfg
echo "<img src=$x width=100% height=100%>" >> $f.cfg
echo "</s5>" >> $f.cfg
done;
fi;
