projects
/
sh-gallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add counter label
[sh-gallery.git]
/
jpg2html.sh
diff --git
a/jpg2html.sh
b/jpg2html.sh
index 0fcb14799aabe844d7751cc14a25ed97a08d2ea2..e03a434e552f260dec5e3c77c64a832c7d4ec363 100755
(executable)
--- a/
jpg2html.sh
+++ b/
jpg2html.sh
@@
-21,6
+21,8
@@
for i in `seq 1 $len `; do
printf "<a href=\"../%s.html\">next</a>\n" $bn_next >> tmp
fi
+ printf " %s/%s\n" $i $len >> tmp
+
this=$files[$i];
bn_this=${this/.jpg/}
printf "<a href=\"%s\"><img src=\"%s_thumb.jpg\" /></a>\n" $bn_this.html $bn_this >> all.tmp