01/26/99 02:15
About thumbindex
The above image and the html source code (for the imagemap, etc.) was
created using thumbindex.
The idea is to create a single thumbnail image (with a small
file size) for all of your
images in a directory and the imagemap to view them -- automatically.
thumbimage does just this.
Usage and Source
Usage is simple. thumbimage is called with the first argument as the
"thumbindex" image to create. All other arguments are considered
image files. The html source is output on stdout.
For example, the above was created with this syntax:
thumbindex index.jpg *jpg *gif > index.html
thumbindex is a perl script.
It also uses the netpbm graphic utilities.
Grab the source for thumbindex.
Notes/Ideas
- Of course, you are welcome to mess around with the code.
- Do things like take out the silly info box in the corner.
- Make it do all kinds of cool things. Make it configurable.
- Include-able html option?
- Thumbnail (tile) order by date? size?
- Fancy switches? wooo!
- "Buttons" for directories??
- Replace info text with image? (Design a thumbnail logo contest?)
jon(@)scribble.com