Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Using CD to Generate Photo Slideshow

The most recent CityDesk News entry ("S5 CityDesk Slideshows template from Brian Cantoni") shows how to generate slideshows using CD:

Seems a natural fit is photo slideshows, provided image sizes are small enough to allow quick page loads. I put together a sample slideshow here:

(For best viewing maximize your browser AND make it Full Screen)

I haven't figured out how to make the row of thumbnails at the top link to their respective images, but you'll notice that if you move your pointer below the << and >> controls in the lower right a drop down becomes visible. The drop down let's you select any page in the slideshow.

There's gotta be a simple way to enable the thumbnail row to act the same way. Instead of a drop down list, it's a row of images, but click one and you go to that page in the slide.

Any ideas how to do that?


George Illes
Monday, November 1, 2004

Nice job George. I too am very interested in where this goes. I've only just recently downloaded the file/template to play with so you've done some of my leg-work for me, thanks. If I come up with anything interesting, specifically a response to your query, I'll post it.

Tuesday, November 2, 2004

PNII, I'm hoping you get inspired enough to figure it out! I wouldn't mind doing the legwork, but my scant knowledge of javascript won't get me very far too fast!

George Illes
Tuesday, November 2, 2004

He-he, sounds like we could have a JS discussion and be speaking at the same level ... we'll see where it goes. It's in the back of my head waiting for processor idle times ... from what's been put through so far I don't think it'll meet my needs but I haven't really looked at it yet - I'm making assumptions from what I saw at your demo and other bits-n-pieces.

Tuesday, November 2, 2004

I think you can do a slide show in CityDesk without the java script.

CityDesk lacks a {$"Put all the pictures in folder "foo" into a slideshow"$}. That would be nice.

But this demo requires an article for each slide anyway. If you have to do that, then you can use the "next" and "previous" things and list the thumnails too if you want.

This is a "next / previous slide show thiing with CityScript:

It's got these in there:
td align="center" width="50%">{$ previousLink p in (folder "Images\HallePictures")$} <a href="{$p.Link$}"><img height="21" alt="back" src="PTMFOG0000000102.gif" width="21" border="0" /></a>{$ end $}</td>

Tuesday, November 2, 2004

Hi tk,

> CityDesk lacks a
> {$"Put all the pictures in folder "foo" into a slideshow"$}.
> That would be nice.

It would be excellent! Actually, exactly what I currently need. I've found that (and more) elsewhere but the product is still coming up to speed and the "CD like" (even my grandmother could figure it out) GUI is still in the works.


Tuesday, November 2, 2004


You're right: that would be a fine way to do a slideshow. You could also readily incorporate linked thumbnails of every image on each page, to allow viewing of all the images and quick jumping to a particular image. But the reason I like the "slideshow" option is that once the page loads, moving from slide to slide is instantaneous. This of course is a poor choice for large-file images, but generally speaking large-file images are a poor choice for the web.

So...say you're showing a slideshow of the four seasons (winter, spring, summer, fall) and each season has, say, 10 slides. Make each season its own slideshow. Ten images per slideshow would load fast (with slower loads you could preview the page load with a % status indicator showing the page is "Loading..." to minimize viewer's attention drift). I've seen many sites that have slow image loads between image clicks, and I lose patience. I'd be happy "investing" a one-time page upload wait for a return on speedily clicking through images.

George Illes
Tuesday, November 2, 2004

A fabulous photo album generating tool is Jalbum, which I've mentioned on this forum before.

I've not tried it, but according to the Jalbum Help guide, you can modify the skins in jalbum to your heart's content, in which case you could generate a photo album with the same look and feel as the rest of your site, and publish it to a subdirectory. Jalbum incorporates thumbnails so you can jump to specific images, but, again, it doesn't load the whole slideshow at once. Each click takes you to another page.

Am I too fixated on this "load the whole page at once" thing?

Anyone else run into this slow image page loads?

George Illes
Tuesday, November 2, 2004

"I'd" be happy with that, hell I'm just as happy doing it like this:
Which is mine that I did to keep "the outlaws" up to speed on my reno work.

But the guy I'm doing the site for ... not the brightest bulb on the chandelier, if you know what I mean. I'ts gotta be "brain-dead" compatible. Create a new page (using a template) in a new folder, set a couple of properties, dump all the (self sorting by name) photos into the folder, click "Publish To My Site". Gonna be a while before CD is doing that, I'd think.

Thanks for the link though, I'll have a closer look ... for myself.

Tuesday, November 2, 2004

*  Recent Topics

*  Fog Creek Home