1 Date: Fri, 7 Dec 2012 15:12:53 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FPhotoAlbumPlugin;
5 flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7 Content-Transfer-Encoding: binary
9 The **~PhotoAlbum** [[Help:WikiPlugin|plugin]] makes an 'album' by displaying a set of photos listed in a text file
10 with optional descriptions.
16 src=http://server/textfile
18 align=[center|left|right]
29 //Only the ='src'= parameter is required.//
39 Url or local path to a CSV textfile which separates filename and
40 description of each photo. Photos listed in the text file have to be in same
41 directory as the file. Descriptions are optional.
43 If the the local path points to a directory, is relative from PHPWIKI_DIR,
44 and the main script is in PHPWIKI_DIR, weblocation must not be given, and
45 all pictures from this directory are displayed.
49 | Defines the the webpath to the srcdir directory (formerly called weblocation)
54 Specifies how the images are arranged.
55 * "normal" - Normal table which shows photos full-size
56 * "thumbs" - WinXP thumbnail style
57 * "tiles" - WinXP tiles style
58 * "list" - WinXP list style
59 * "slide" - slideshow mode, needs Javascript on client
64 * "none" - No descriptions next to photos
65 * "name" - Only filename shown
66 * "desc" - Only description (from textfile) shown
67 * "both" - If no description found, then filename will be used
74 If true, each image will be hyperlinked to a page where the single
75 photo will be shown full-size. Only works when mode != 'normal'
79 | center, right or left
83 | Display any descriptions given in the text file
87 | Sort images by file name
88 | By default the order in the text file is followed
98 | **height**, **width**
100 Height and width are calculated compared to original metrics
101 retrieved by [php-function:getimagesize] and can be absolute (50px)
102 or a percentage (e.g. "50%").
107 attrib arg allows multiple attributes: attrib=sort,nowrap,alt
108 'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use
109 descs instead of filenames in image ALT-tags
114 cell (auto|equal|image|75|100%)
116 Width of cells in table. Either absolute value in pixels, HTML
117 style percentage, "auto" (no special action), "equal" (where
118 all columns are equally sized) or "image" (take height and
119 width of the photo in that cell).
128 | "displaythissinglephoto.jpg" only
132 | "highlightcolorofthisphoto.jpg" only
140 Possible content of a valid text file:
143 photo-01.jpg; My girlfriend and I
145 christmas.gif; Merry Christmas!
148 === Sample Albums ===
152 <<PhotoAlbum src="themes/Hawaiian/images/pictures/" >>
156 <<PhotoAlbum src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv" >>
163 * [[mailto:teddy@jouwfeestje.com|Ted Vinke]]: original author
164 * [[Help:Reini Urban|Reini Urban]]: local fs
165 * Thomas Harding: slides and thumbs
169 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]