Personal tools

Gallery2:Modules:slideshow

From Gallery Codex

Contents

Slideshow Module

Adds a HTML / JavaScript based Slideshow to Gallery.

Description

Adds a pretty basic HTML / JavaScript based Slideshow to Gallery.

Features

  • Slideshow view for your albums
  • Choose delay between slides
  • Choose image size
  • Has nice transitions in MS Windows Internet Explorer (using ActiveX controls)

Usage

The "[core] item view" permission determines whether a user or a group has permission to see a slideshow in a specific album. If the user has permission to see the slideshow, G2 automatically adds a "view slideshow" link in the item action links block.

If you want to have g2 do a recursive slideshow (display items from the current album and all descendant albums) change gallery2/modules/slideshow/Slideshow.inc to the following:

<before>

function buildSlideshow($item, $startId = null, $recursive = false) {

<after>

function buildSlideshow($item, $startId = null, $recursive = true) {

This will consume more memory depending on the size of the album(s) you're enabling slideshow for. You can change memory_limit in php.ini, which would be in your document root, if you get php errors. Be careful not to let errors leak your memory though.

Defaults

Requested Features

(list of sf.net RFEs)

  • Recursive slideshow (go into subalbums) RFE 12345
  • Add option to change the default image size for slideshows such that the user doesn't have to change it each time he starts the slidshow
  • Add "view slideshow" permission
  • Fix performance / scaling issues. It scales very badly with the number of items in an album. Change it to download the next x items / itemIds continuously instead of loading the HTML for the whole slideshow at once.
  • Change CSS to center the slideshow based on the theme
  • Slideshow transitions (fade, checkerboard, etc...)
  • Allow slideshow to work with ImageFrame module
  • Allow an album to not have a slideshow link (Due to the large size of some albums I don't want a slideshow)
  • Transition effects (blend) that don't require ActiveX (so you can see transition effects with Firefox).

Bugs

(list of sf.net bugs)

  • Too slow for big albums.
advertisements