a:6:{s:6:"markup";s:1:"2";s:6:"author";s:6:"a_user";s:9:"author_id";s:6:"a_user";s:8:"pagetype";s:8:"wikitext";s:5:"mtime";i:1150625921;s:8:"%content";s:2061:"!!! Summary
Makes an 'album' by displaying a set of photos listed in a text file
with optional descriptions.

!!! Usage
<verbatim>
<?plugin PhotoAlbum
         src=http://server/textfile
         mode=[column|row]
         align=[center|left|right]
         desc=true
         sort=false
         height=100%
         width=100%
         weblocation=>false
?>
</verbatim>

!!! Arguments
''Only the ='src'= parameter is mandatory.''

__src__:
  Url or local path to a CSV textfile which separates filename and
  description of
  each photo. Photos listed in the text file have to be in same
  directory as the file. Descriptions are optional.
  If the the local path points to a directory, is relative from PHPWIKI_DIR,
  and the main script is in PHPWIKI_DIR, weblocation must not be given, and
  all pictures from this directory are displayed.

__weblocation__:
  Optional path if the src points to a local dir, and the links on the
  photos don't work.

__mode__:
  Specifies how the images are arranged, ='column'= means vertically,
  ='row'= means horizontally. Default is ='row'=.

__align__:
  Only applicable to column mode. Default is ='center'=.

__desc__:
  Display any descriptions given in the text file. Default is true.

__sort__:
  Sort images by file name. By default the order in the text file is
  followed.

__height__, __width__:
  Height and width are calculated compared to original metrics
  retrieved by [php-function:getimagesize] and can be absolute or a
  percentage (e.g. "50%").

!!! Examples
!! Text file
Possible content of a valid text file:

<verbatim>
photo-01.jpg; My girlfriend and I
photo-02.jpg
christmas.gif; Merry Christmas!
</verbatim>

!! Sample Album
local dir:
<?plugin PhotoAlbum
         src="themes/Hawaiian/images/pictures/"
?>
or via external url:
<verbatim>
<?plugin PhotoAlbum
         src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv"
</verbatim>
?>

!!! Plugin Author
[Ted Vinke|mailto:teddy@jouwfeestje.com] <teddy@jouwfeestje.com>
----
PhpWikiDocumentation WikiPlugin";}