Ticket #26 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

slideshow

Reported by: anti Owned by: mike
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords:
Cc:

Description

Can we get a slideshow feature? It would work like this:

1) open a picture 2) click "slideshow" link 3) after predetermined time has passed, the next picture will be shown - this can be done with javascript.

This way would allow viewing of images without clicking anything.

Change History

Changed 3 years ago by Mike

I actually had to write a Javascript slideshow for my Internet Programming class... let me see what I can dig up.

Changed 3 years ago by mike

  • status changed from new to closed
  • resolution set to fixed

Ok, I implemented this in a little bit of a different way than described in Anti's comment. I had originally placed the slideshow directly in the "picture view" but a few problems become immediately apparent.

First of all, I could get the images, captions, and image names all to rotate smoothly with JavaScript?. The one main problem was that each picture had different comments (potentially hundreds) and EXIF data, and all of that information would have to be preloaded in JavaScript? before the show would run. I started looking at some AJAX solutions to this problem but ended up scrapping it all due to the surrmounting complexity.

My final solution was just to have an additional "slideshow" level that could be accessed from the picture thumbnail view. The slideshow is just images and captions, keep it simple.

If you guys have any thoughts on this let me know.

Note: See TracTickets for help on using tickets.