I keep a season's worth of soccer photos online for all the parents of my soccer team. At the end of the year, I archive the web site to a CD and give the parents the CD. I used to use static HTML, and that archived nicely. Now that I'm using Gallery, is there a way to create a static CD image that has similar functionality without requiring the installation of any software on the reading PC/Mac?
I can certainly see that pulling over the /albums directory would give me all the images I need. A simple script could easily generate a static HTML page. What about user added comments? Before I go inventing, I figured I'd check in here.
Thanks much,
Dave O
Posts: 314
<!-- BBCode Start --><A HREF="http://www.nwalsh.com/hacks/gallery/" TARGET="_blank">http://www.nwalsh.com/hacks/gallery/</A><!-- BBCode End -->
Posts: 27
This looks really promising. Thanks! I don't suppose you have a (small) example of the output someplace that I could look at? Just to get a feel for what the final static interface is like without having to download and install the script and the XML/XSLT stuff. If not, then I'll get it going and post a link back here myself.
Thanks,
Dave O
Posts: 27
You can view an example of the static output at:
<!-- BBCode Start --><A HREF="http://www.efn.org/~dorth/test/Family-Photos" TARGET="_blank">http://www.efn.org/~dorth/test/Family-Photos</A><!-- BBCode End -->
Some general comments:
<LI>First of all, great work! This is really a big help and a substantial effort on your part.
<LI>You'll need to get the jhead binary for the script to run.
<LI>Captions and Gallery Descriptions are maintained
<LI>Comments are lost
<LI>Keywords go in the exif picture properties
<LI>I wasn't able to get the individual pictures to open within a nested album although the HTML did get generated for them. The URL seems to be missing the file basename.
<LI>I'm not much of a CSS guy, so I didn't know what to use for the album.css file (one was required but not supplied), so I just created a minimal CSS and used it. I don't believe any of the elements I defined are used.
<LI>You'll have to copy over the navigation GIFs and put them in the /images directory. I copied them from Gallery.
Some of the above might have been simple mistakes on my part. Just giving you the quick-and-dirty experience.
Thanks,
Dave O[/]
Posts: 10
Does anyone have a copy of this script? I tried going to the site but i can't get to it. Thanks.
Posts: 27
Not on any kind of permanent basis, but I have tar'd up the files that I downloaded from
<!-- BBCode Start --><A HREF="http://www.nwalsh.com/hacks/gallery/" TARGET="_blank">http://www.nwalsh.com/hacks/gallery/</A><!-- BBCode End --> and placed them temporarily at
<!-- BBCode Start --><A HREF="http://www.efn.org/~dorth/test/" TARGET="_blank">http://www.efn.org/~dorth/test/</A><!-- BBCode End -->
as gallery2cdrom.tar.
If anyone can figure out how to get the nested albums to work correctly, please post. It may be something I've done wrong. The nested albums thumbnail OK, but when trying to click on the thumbnail images, the URL is missing the "base" name and just appears as:
http://www.efn.org/~dorth/test/album05/.html
instead of:
http://www.efn.org/~dorth/test/album05/P2140031.html
Dave O
Posts: 10
thanks
Posts: 27
Quite some time ago I was directed to some scripts written by Norman Walsh (see previous post) to create a static copy of a gallery. This would allow me to put it on a CD for distribution.
In general, the script worked as advertised, however there was one piece that didn't work which was fairly critical for me - namely a bug in the handling of nested folders.
I actually think it's something relatively minor, but basically I wasn't able to get the individual pictures to open within a nested album (although the thumbnails appeared). The HTML did get generated for them except the basename was missing. So something like:
http://my.site/gallery/album04/.html
You can take a look at sample output at:
http://www.efn.org/~dorth/test/Family-Photos/
Navigate into one of the nested albums and look at the URL when clicking on a thumbnail.
I sent feedback to Norman a few days ago but haven't heard anything back from him. I wondering if there is anyone out there who might understand the gallery structure and XSLT who might be able to take a look and see if it's fixable or not. I'm not familiar with either, and unfortunately Norman's code isn't well documented (his words, not mine!).
The other possibility is that I've fat fingered something on my end of things that is causing the problem. Has anyone else gotten this to work succesfully with nested albums? Anyone willing to work on it? I'd be mor than willing to test the results.
Thanks much,
Dave O
Posts: 38
Check out this Powertoy if you have Winodows XP: http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/SlideshowPowertoySetup.exe
Posts: 27
Yes, I think that will create a nice slide show on a CD, but I was really hoping to convert my existing gallery albums (which I've already annotated and collated) to a CD.
The existing scripts at http://www.nwalsh.com/hacks/gallery/ will do this for me, but there's a bug that needs fixing. I was hoping to find a "taker".
Thanks,
Dave O