The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Labyrinth::Plugin::Album::Photos - Photo album photos handler for Labyrinth

DESCRIPTION

Contains all the photo album handling functionality for the Labyrinth framework.

PUBLIC INTERFACE METHODS

Public Methods

List

Provides a list of all the public photos within a given photo album.

View

Returns details of a specific photo.

Random

Stores random images in the $tvars{"irand$inx"} template variable array. Number of images stored is determined for configuration settings variable, 'random'. If not set, will default to 1 image.

Provides a set of images to be used within a gallery pop-up window. Assumes a 3x3 grid of nine images. Includes links for prev & next to further gallery images.

Images returned are determined by the given metadata.

Albums

Retrieve a collection of albums and their photos. This is particularly useful when multiple galleries are being displayed. The results are stored in the template variable $tvars{albums}{<album id>}{records}, as an array of the photos, as per the List method.

ADMIN INTERFACE METHODS

Administration Methods

Admin

Provides a list of all photos.

Add

Prep for adding a photo.

Edit

Edit details of an existing photo.

Move

Move a photo between albums.

Save

Saves details of a given photo.

Archive

Delete a photo reference if held in the archive photo album, or move to the archive photo album, if held in another album.

SEE ALSO

  Labyrinth

AUTHOR

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE

  Copyright (C) 2002-2015 Barbie for Miss Barbell Productions
  All Rights Reserved.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.