Re: Scripts for Galleries

Replies:

Parents:

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:
> http://goatee.net/photo/web/2002/10/

I keep putting off sending details on my stuff to fogo because I
was hoping to make it more usable first.

But here is a quick summary of what I currently do to publish mine.
(sample: http://impressive.net/people/gerald/2002/italy/photos.html )

   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
into captivate.

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.

rename-vids, make_variants, captivate etc are linked from:
http://impressive.net/software/photo/

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)

--
Gerald Oskoboiny <[email protected]>
http://impressive.net/people/gerald/

Re: Scripts for Galleries

Replies:

  • None.

Parents:

* Gerald Oskoboiny <[email protected]> [2002-11-22 18:02-0500]

> 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:

   http://impressive.net/people/gerald/2002/02/dr.html
   http://impressive.net/people/gerald/2003/01/17/spamconf.html

I'm pretty happy with it, but I'm sure the CSS could be improved;
suggestions welcome.

For the thumbnails with captions, I based the layout on some
sample CSS [1] 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
of columns!)

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)

[1] http://www.w3.org/Style/Examples/007/figures.html

--
Gerald Oskoboiny <[email protected]>
http://impressive.net/people/gerald/

HURL: fogo mailing list archives, maintained by Gerald Oskoboiny