Since everyone seems to have their own scripts for generating galleries,
here's mine! <smile/> icon call igal. Results look like: http://goatee.net/photo/web/2002/10/
Content-Disposition: attachment; filename="icon"
if [ ! -d ./images ]; then mkdir ./images; fi;
if [ ! -d ./images/thumbs ]; then mkdir ./images/thumbs; fi;
Speaking of galleries, I'd like to find a way to grab a frame from
a video (QT, normally) for inclusion into my gallery pages. I'm
using ImageMagick now (what else), but couldn't find a way to do that
with it. Ideas?
On Fri, Nov 22, 2002 at 02:57:33PM -0500, Mark Baker wrote:
> Speaking of galleries, I'd like to find a way to grab a frame from
> a video (QT, normally) for inclusion into my gallery pages. I'm
> using ImageMagick now (what else), but couldn't find a way to do that
> with it. Ideas?
I just happened to drop by http://freshmeat.net/ to look for some
stuff for my printer, and I saw this on the home page:
PornView 0.1.2 
by trem0r - Saturday, November 23rd 2002 06:53 PST
About: PornView is a GTK+-based image viewer/manager. Features
include thumbnail previews, thumbnail caching, directory tree
views, and and adjustable zoom. Fullscreen view and slideshows
allow for basic presentation of images.
Changes: This release adds file operations, EXIF data, gettext
support, and a Polish translation, and fixes many small bugs.
I was curious about its 'EXIF data' support, so I went to check
it out and noticed that this screen shot  has a popup menu that
says 'Movie -> Create Thumbnail'; might be worth trying.
(I thought the package name was just a joke, but apparently not :)
Hmm... I just compiled and installed it, and it's fairly nice for
something with version number 0.1.2, but I couldn't get it to do
anything with any of the movie formats I happen to have around
(mpeg, avi, quicktime.)
Its view of exif data is quite good; apparently it uses libexif 
to do all the dirty work. I'll have to play around with that sometime.
On Fri, Nov 22, 2002 at 01:54:43PM -0500, Joseph Reagle wrote:
> Since everyone seems to have their own scripts for generating galleries,
> here's mine! <smile/> icon call igal. Results look like:
I keep putting off sending details on my stuff to fogo because I
was hoping to make it more usable first.
1. gphoto2 -P
2. epinfo -rf $W/%Y/%m/%d/%H-%M-%S.jpg *.JPG
3. rename-vids *.AVI
4. cd $M
5. make_variants ??/$L &
(this takes a looong time)
6. qiv ??/$L
(do a quick pass through, to delete or resize lame/redundant pics)
7. captivate --index foo.html */*
(add titles/descriptions to each photo; generates HTML when done)
8. edit foo.html to add headings/titles/intro text
9. cvs add and commit everything
This is too many steps... I'd like to move at least steps 2 through 6
The environment variables W, M, and L are set in my .bashrc:
W=$HOME/www/people/gerald; export W
M=$W/`date +%Y/%m`; export M
L="??-??-??.jpg"; export L
so I can always use $W to refer to my web site document root, $M
to refer to the current monthly dated dir on my site, and $L to
refer to the original versions of my photos; very, very handy.
- make it usable (make "captivate *" do the right thing for new users)
- add next/prev/up links on each photo page
- switch to CSS for style stuff on photo pages
- add access control, foaf depiction, and quality ratings
- make a search engine for my photos
- reduce the number of steps needed to publish (above)
> items near the top of my todo list include:
> - make it usable (make "captivate *" do the right thing for new users)
> - add next/prev/up links on each photo page
> - switch to CSS for style stuff on photo pages
> - add access control, foaf depiction, and quality ratings
> - make a search engine for my photos
> - reduce the number of steps needed to publish (above)
I finally did some of this stuff: added next/prev/up links,
switched to CSS for most style/layout stuff; added a bit more
metadata (acl/quality/foaf, but that's not quite right yet)
I regenerated a couple of my photo pages with this new version:
I'm pretty happy with it, but I'm sure the CSS could be improved;
For the thumbnails with captions, I based the layout on some
sample CSS  published by Bert. (thanks, very helpful!)
I wanted the page to be usable at any browser width; with my
current 800px-wide browser, there are 4 columns of images, and
on narrower or wider widths there are fewer or more columns.
(much better than some html table solution with a fixed number
I am not quite happy with the absolute positioning of the next/prev/up
links on the foo-sm.html pages, but I don't know how else to do that.
I want to be able to scroll through a gallery by clicking on "Next"
without having to move the mouse around. That seems to work fine
the way I did it, but one potential problem is that the heading text
overruns the navbar text if you make the text larger (or have a
long heading or link text); anyone know how to avoid that?
(I want the navbar stuff to be fixed in the top right, but would
like the text to flow around it when necessary)