]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - locale/zh/pgsrc/Help%2FPhotoAlbumPlugin
Merge OldTextFormattingRules into TextFormattingRules; Rename _GroupInfo --> DebugGro...
[SourceForge/phpwiki.git] / locale / zh / pgsrc / Help%2FPhotoAlbumPlugin
1 Date: Fri,  4 Feb 2011 16:44:25 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FPhotoAlbumPlugin;
5   flags="";
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 == Summary
10 藉著顯示帶有說明以及相片檔名的文字檔以製作相簿.
11
12 == Usage
13 {{{
14 <<PhotoAlbum
15          src=http://server/textfile
16          mode=[column|row]
17          align=[center|left|right]
18          desc=true
19          sort=false
20          height=100%
21          width=100%
22 >>
23 }}}
24
25 == Arguments
26 ''只有 ='src'= 參數是必要的.''
27
28 **src**:
29   一個 CSV 文字檔案,裡面每行的格式為 filename, description.
30   裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫.
31
32 **mode**:
33   指定相片排列的方法, ='column'= 表示直放, ='row'= 表示橫放. 預設為 ='row'=.
34
35 **align**:
36   每欄的對齊方式. 預設為 ='center'=.
37
38 **desc**:
39   是否顯示文字檔中指定的 description. 預設為真.
40
41 **sort**:
42   以檔案名稱排序圖片. 預設是以文字檔中的順序來排列.
43
44 **height**, **width**:
45   高度與寬度用來與用 [php-function:getimagesize] 取得的原始高度與寬度做比較,
46   可以指定絕對值或百分比 (例如 "50%").
47
48 == Examples
49 === Text file
50 正確文字檔的內容應該是:
51
52 {{{
53 photo-01.jpg; My girlfriend and I
54 photo-02.jpg
55 christmas.gif; Merry Christmas!
56 }}}
57
58 === Sample Album
59 <<PhotoAlbum
60          src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum"
61 >>
62
63 == Plugin Author
64 [Ted Vinke|mailto:teddy@jouwfeestje.com] <teddy@jouwfeestje.com>
65
66 <noinclude>
67 ----
68 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
69 </noinclude>