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;
8 Content-Transfer-Encoding: binary
10 The **~PhotoAlbum** [[Help:WikiPlugin|plugin]] makes an 'album' by displaying a set of photos listed in a text file
11 with optional descriptions.
17 src=http://server/textfile
19 align=[center|left|right]
30 //Only the ='src'= parameter is required.//
40 Url or local path to a CSV textfile which separates filename and
41 description of each photo. Photos listed in the text file have to be in same
42 directory as the file. Descriptions are optional.
44 If the the local path points to a directory, is relative from PHPWIKI_DIR,
45 and the main script is in PHPWIKI_DIR, weblocation must not be given, and
46 all pictures from this directory are displayed.
50 | Defines the the webpath to the srcdir directory (formerly called weblocation)
55 Specifies how the images are arranged.
56 * "normal" - Normal table which shows photos full-size
57 * "thumbs" - WinXP thumbnail style
58 * "tiles" - WinXP tiles style
59 * "list" - WinXP list style
60 * "slide" - slideshow mode, needs Javascript on client
65 * "none" - No descriptions next to photos
66 * "name" - Only filename shown
67 * "desc" - Only description (from textfile) shown
68 * "both" - If no description found, then filename will be used
75 If true, each image will be hyperlinked to a page where the single
76 photo will be shown full-size. Only works when mode != 'normal'
80 | center, right or left
84 | Display any descriptions given in the text file
88 | Sort images by file name
89 | By default the order in the text file is followed
99 | **height**, **width**
101 Height and width are calculated compared to original metrics
102 retrieved by [php-function:getimagesize] and can be absolute (50px)
103 or a percentage (e.g. "50%").
108 attrib arg allows multiple attributes: attrib=sort,nowrap,alt
109 'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use
110 descs instead of filenames in image ALT-tags
115 cell (auto|equal|image|75|100%)
117 Width of cells in table. Either absolute value in pixels, HTML
118 style percentage, "auto" (no special action), "equal" (where
119 all columns are equally sized) or "image" (take height and
120 width of the photo in that cell).
129 | "displaythissinglephoto.jpg" only
133 | "highlightcolorofthisphoto.jpg" only
141 Possible content of a valid text file:
144 photo-01.jpg; My girlfriend and I
146 christmas.gif; Merry Christmas!
149 === Sample Albums ===
153 <<PhotoAlbum src="themes/Hawaiian/images/pictures/" >>
157 <<PhotoAlbum src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv" >>
164 * [[mailto:teddy@jouwfeestje.com|Ted Vinke]]: original author
165 * [[Help:Reini Urban|Reini Urban]]: local fs
166 * Thomas Harding: slides and thumbs
170 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]