photoalbumplugin

来自「PhpWiki是sourceforge的一个开源项目」· 代码 · 共 70 行

TXT
70
字号
Date: Sat, 4 Jan 2003 23:05:22 -0500Mime-Version: 1.0 (Produced by PhpWiki 1.3.4)X-Rcs-Id: $Id: PhotoAlbumPlugin,v 1.1 2004/04/29 23:59:07 rurban Exp $Content-Type: application/x-phpwiki;  pagename=PhotoAlbumPlugin;  flags="";  pgsrc_version="2 $Revision: 1.1 $";  markup=2;  charset=UTF-8Content-Transfer-Encoding: binary!!! Summary藉著顯示帶有說明以及相片檔名的文字檔以製作相簿.!!! Usage<verbatim><?plugin PhotoAlbum         src=http://server/textfile         mode=[column|row]         align=[center|left|right]         desc=true         sort=false         height=100%         width=100%?></verbatim>!!! Arguments''只有 ='src'= 參數是必要的.''__src__:  一個 CSV 文字檔案,裡面每行的格式為 filename, description.  裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫.__mode__:  指定相片排列的方法, ='column'= 表示直放, ='row'= 表示橫放. 預設為 ='row'=.__align__:  每欄的對齊方式. 預設為 ='center'=.__desc__:  是否顯示文字檔中指定的 description. 預設為真.__sort__:  以檔案名稱排序圖片. 預設是以文字檔中的順序來排列.__height__, __width__:  高度與寬度用來與用 [php-function:getimagesize] 取得的原始高度與寬度做比較,  可以指定絕對值或百分比 (例如 "50%").!!! Examples!! Text file正確文字檔的內容應該是:<verbatim>photo-01.jpg; My girlfriend and Iphoto-02.jpgchristmas.gif; Merry Christmas!</verbatim>!! Sample Album<?plugin PhotoAlbum         src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum"?>!!! Plugin Author[Ted Vinke|mailto:teddy@jouwfeestje.com] <teddy@jouwfeestje.com>----PhpWikiDocumentation WikiPlugin

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?