Add Comedi and NI triggering post.
[blog.git] / posts / gallery.mdwn
1 I've written up a little script ([[gallery.py]]) to generate HTML
2 galleries of my pictures.  There are tons of scripts to do this, but
3 this one's mine ;).  It uses [ImageMagick][]'s [mogrify][] to generate
4 thumbnails and supports per-picture captions via similarly named
5 caption files (e.g. `some-pic.jpg.txt` contains the caption for
6 `some-pic.jpg`).
7
8 You'll probably want to tweak the script to create appropriate header
9 or footer code for your particular site.  Perhaps I'll convert the
10 script to use [jinja2][] in the future.
11
12 [ImageMagick]: http://www.imagemagick.org/
13 [mogrify]: http://www.imagemagick.org/script/mogrify.php
14 [jinja2]: http://jinja.pocoo.org/
15
16 [[!tag tags/fun]]
17 [[!tag tags/python]]
18 [[!tag tags/tools]]