You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
262 B
5 lines
262 B
14 years ago
|
#!/bin/sh
|
||
|
|
||
|
# consider using convert to generate thumbnails and auto-rotate
|
||
|
echo "<html>" > gallery.html && ls *.jpg *.JPG |sort -n| sed "s/\(.*\)/<a href=\"\1\"><img height=\"200px\" src=\"\1\"\/>\1<\/a><br\/>/" > gallery.html && echo "</html>" >> gallery.html
|