1 Date: Tue, 20 Sep 2005 20:18:39 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.12pre-20050918)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FPhotoAlbumPlugin;
8 Content-Transfer-Encoding: binary
11 Makes an 'album' by displaying a set of photos listed in a text file
12 with optional descriptions.
17 src=http://server/textfile
19 align=[center|left|right]
29 _Only the ='src'= parameter is mandatory._
32 Url or local path to a CSV textfile which separates filename and
33 description of each photo. Photos listed in the text file have to be in same
34 directory as the file. Descriptions are optional.
35 If the the local path points to a directory, is relative from PHPWIKI_DIR,
36 and the main script is in PHPWIKI_DIR, weblocation must not be given, and
37 all pictures from this directory are displayed.
40 defines the the webpath to the srcdir directory (formerly called weblocation)
43 Specifies how the images are arranged.
45 * "normal" - Normal table which shows photos full-size
46 * "thumbs" - WinXP thumbnail style
47 * "tiles" - WinXP tiles style
48 * "list" - WinXP list style
49 * "slide" - slideshow mode, needs javascript on client
52 "none" - No descriptions next to photos %%%
53 "name" - Only filename shown %%%
54 "desc" - Only description (from textfile) shown %%%
55 "both" - If no description found, then filename will be used %%%
59 If true, each image will be hyperlinked to a page where the single
60 photo will be shown full-size. Only works when mode != 'normal'
63 center|right|left. Default is ='center'=.
66 Display any descriptions given in the text file. Default is true.
69 Sort images by file name. By default the order in the text file is
73 Default: #eae8e8 cell bgcolor (lightgrey)
76 Default: #c0c0ff highlight color (lightblue)
79 Height and width are calculated compared to original metrics
80 retrieved by [php-function:getimagesize] and can be absolute (50px)
81 or a percentage (e.g. "50%").
84 attrib arg allows multiple attributes: attrib=sort,nowrap,alt
85 'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use
86 descs instead of filenames in image ALT-tags
89 cell (auto|equal|image|75|100%)
91 Width of cells in table. Either absolute value in pixels, HTML
92 style percentage, "auto" (no special action), "equal" (where
93 all columns are equally sized) or "image" (take height and
94 width of the photo in that cell).
96 *tablewidth*: (Optional)
100 "displaythissinglephoto.jpg" only
103 "highlightcolorofthisphoto.jpg" only
107 Possible content of a valid text file:
110 photo-01.jpg; My girlfriend and I
112 christmas.gif; Merry Christmas!
118 src="themes/Hawaiian/images/pictures/"
123 src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv"
130 * [Ted Vinke|mailto:teddy@jouwfeestje.com] Original author
131 * [ReiniUrban|PhpWiki:ReiniUrban] local fs
132 * [ThomasHarding|PhpWiki:ThomasHarding] slides and thumbs
135 PhpWikiDocumentation Help:WikiPlugin