Hey, I really like SimpleViewer. It's a fast, free, and elegant way of putting together a Flash gallery. For proof, check out my own SimpleViewer gallery.
The only problem is, what if you store all your photos in iPhoto? What if you have ordered them, put them in galleries, given them descriptions, and now you want them in a web-based Flash gallery? And you don't want to pay anything?
Well, here is the solution. I have created a simple AppleScript that will do the heavy lifting for you. It will drop an existing iPhoto album into a new folder, export thumbnails and full-size images, and size them appropriately for SimpleViewer. It will even make sure your full-size images and thumbnails have the same filename. And it will write the SimpleViewer XML file for you.
What you need
You need a directory on your local machine that will serve as a repository for galleries. Download SimpleViewer. Put the flash_detect.js and viewer.swf files into this directory.
Then, use my AppleScript in Script Editor. First, select a gallery in iPhoto. Then run my script. You will be prompted for a directory; select the one you created earlier. Sit back and wait for the file copies to finish.
In addition to this, you'll also need my index.php file. This index file implements rudimentary support for multiple galleries, rendering a simple menu at the top of the page. If you put multiple galleries into this folder, index.php will pick them up.
Phew. Well, check out the results once again. Nifty.
[robg adds: I haven't tested this one...]
Mac OS X Hints
http://hints.macworld.com/article.php?story=20051021061733229