diff --git a/gallerygen/gallerygen.sh b/gallerygen/gallerygen.sh
new file mode 100755
index 0000000..bd85d12
--- /dev/null
+++ b/gallerygen/gallerygen.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ -e imgindex.html ]; then
+rm imgindex.html
+fi
+
+for i in *.png; do
+echo "
" >> imgindex.html
+done
+
+for i in *.jpg; do
+echo "
" >> imgindex.html
+done
+