Gallery2:Modules:flashniftiessource - Gallery Codex
Personal tools


From Gallery Codex

FlashNiftiesSource Module


a basic interface to allow flash slideshow to load its pictures from a Gallery2 installation. FlashNiftiesSource is a small module that produces the xml output that uses, and provides an interface to download an item according to permissions.



  • download from:, unpack and copy to /modules
  • Configure, then Activate it. There are no configuration options - configuration adds a minimal set of parameters to the root album, from whose Edit Item page they can be changed.
  • enter the FlashNifties parameters for each album (and its children) in the tab under Edit Album.


The module allows Gallery to source the XML data for FlashNifties such that the images are served back from the Gallery installation.

All parameters are set in the FlashNifties Tab of the Edit Album page. They include the basic options as shown, as well as a per-album limit on the number of files to download, and an enable/disable switch. All options carry through to sub albums, and override settings higher up. Custom options can also be set; enter the name as well as the value in the boxes at the bottom of the page. If custom options are set in any other albums, you will see the names offered to you as a convenience.

To direct FlashNifties towards the Gallery installation follow the instructions on this page for customizing the XML data source: XXXXXXX

Use syntax as in the following example:

The correct path to use for each album is displayed in the FlashNifties tab of the edit album page, where the parameters are set.

Thumbnails are drawn from Gallery's thumbnails; "main" images are sourced as the smallest resize (or original or thumbnail) that is as large as or larger than the maxImageHeight/maxImageWidth parameters active for that album, and for which view permission is available at the time the image is downloaded by Simpleviewer. If no maxImageHeight/maxImageWidth is set for the album or its parents, then the largest available image is used. If your browser's permissions change during the downloading (you log in to the Gallery as Administrator, for instance) the size of image downloaded can change from one image to the next across the gallery. The images are also cached by the browser, so you may need to empty the cache before you see the 'correct' image for your permissions.

Bug reports, questions, comments, suggestions etc in this thread please: XXXXXXX

Requested Features

  • Build a theme around FlashNifties, using this module as the core to display the images
  • Configure a background image, also served from Gallery
  • Translations

To do list


  • bug go here
  • and here