1 Date: Mon, 16 Jun 2008 14:15:24 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id: Help%2FPhotoAlbumPlugin,v 1.3 2008-06-18 01:12:39 vargenau Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FPhotoAlbumPlugin;
9 Content-Transfer-Encoding: binary
12 Makes an 'album' by displaying a set of photos listed in a text file
13 with optional descriptions.
18 src=http://server/textfile
20 align=[center|left|right]
30 _Only the ='src'= parameter is mandatory._
33 Url or local path to a CSV textfile which separates filename and
34 description of each photo. Photos listed in the text file have to be in same
35 directory as the file. Descriptions are optional.
36 If the the local path points to a directory, is relative from PHPWIKI_DIR,
37 and the main script is in PHPWIKI_DIR, weblocation must not be given, and
38 all pictures from this directory are displayed.
41 defines the the webpath to the srcdir directory (formerly called weblocation)
44 Specifies how the images are arranged.
46 * "normal" - Normal table which shows photos full-size
47 * "thumbs" - WinXP thumbnail style
48 * "tiles" - WinXP tiles style
49 * "list" - WinXP list style
50 * "slide" - slideshow mode, needs javascript on client
53 "none" - No descriptions next to photos %%%
54 "name" - Only filename shown %%%
55 "desc" - Only description (from textfile) shown %%%
56 "both" - If no description found, then filename will be used %%%
60 If true, each image will be hyperlinked to a page where the single
61 photo will be shown full-size. Only works when mode != 'normal'
64 center|right|left. Default is ='center'=.
67 Display any descriptions given in the text file. Default is true.
70 Sort images by file name. By default the order in the text file is
74 Default: #eae8e8 cell bgcolor (lightgrey)
77 Default: #c0c0ff highlight color (lightblue)
80 Height and width are calculated compared to original metrics
81 retrieved by [php-function:getimagesize] and can be absolute (50px)
82 or a percentage (e.g. "50%").
85 attrib arg allows multiple attributes: attrib=sort,nowrap,alt
86 'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use
87 descs instead of filenames in image ALT-tags
90 cell (auto|equal|image|75|100%)
92 Width of cells in table. Either absolute value in pixels, HTML
93 style percentage, "auto" (no special action), "equal" (where
94 all columns are equally sized) or "image" (take height and
95 width of the photo in that cell).
97 *tablewidth*: (Optional)
101 "displaythissinglephoto.jpg" only
104 "highlightcolorofthisphoto.jpg" only
108 Possible content of a valid text file:
111 photo-01.jpg; My girlfriend and I
113 christmas.gif; Merry Christmas!
119 src="themes/Hawaiian/images/pictures/"
124 src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv"
131 * [Ted Vinke|mailto:teddy@jouwfeestje.com] Original author
132 * [Reini Urban|PhpWiki:ReiniUrban] local fs
133 * [Thomas Harding|PhpWiki:ThomasHarding] slides and thumbs
136 [PhpWikiDocumentation] [CategoryWikiPlugin]