Kod: Markera allt
for img in *.jpg ; do
echo $img
echo "ingen kommentar." >> kom/$img.html
convert -scale 300 $img thumb/thumb-$img
# mogrify -scale 640 $img
echo "<td>" >> index.html
echo "<a href=\"$img\"><img src=\"thumb/thumb-$img\"></a>" >> index.html
echo "<!--#include virtual="kom/$img.html" -->" >> index.html
echo "</td>" >> index.html
done