Dokuwiki for science

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

aviewer_plugin [2016/10/30 23:35] (現在)
ライン 1: ライン 1:
 +====== AutoViewer plugin ======
 +This [[http://​wiki.splitbrain.org/​wiki:​plugins|DokuWiki plugin]] displays a Flash application,​ **AutoViewer** from [[http://​www.airtightinteractive.com/​projects/​autoviewer/​|AirTight]]. It displays several JPG images with some controler buttons. ​
 +
 +:!: **Development discontinued** :!:
 +
 +The AutoViewer display a slideshow by reading XML file containing URL of image source, width, height and caption for each images. However, this plugin don't need XML code for a slideshow. So you can display a slideshow with a minimal syntax.
 +
 +:!:Notice that this plugin requires '​[[cache_plugin]]'​ to cache intermediate XML files that are stored in **aviewer** namespace.
 +
 +^Download|{{:​computer:​source:​aviewer.zip}}(4.9KB)|
 +
 +
 +
 +=====Syntax=====
 +**%%<​aviewer (max-width) (max-height) (left/​right/​noalign)>​%%**\\ ​
 +...Image list seperated by line-feed...\\ ​
 +**%%</​aviewer>​%%**
 +
 +Use %%<​aviewer>​%% tag to begin. Max-width and max-height are sizes of a slideshow. Images will be automatically resized to max-height or max-width for a correct dimension of each image. Syntax of image list is identical to that of DokuWiki'​s image file. 
 +
 +You can also use namespaces of image files. ​
 +====Appearance====
 +<aviewer 320 240>
 +{{computer:​en:​phm10_0134.jpg|Flowers}}
 +{{computer:​en:​phm10_0210.jpg|Flowers}}
 +{{computer:​en:​phm10_0651.jpg|Blue sky}}
 +{{computer:​en:​flowers}}
 +</​aviewer>​
 +\\ \\ 
 +**Code**
 +<​code>​
 +<aviewer 320 240>
 +{{computer:​en:​phm10_0134.jpg|Flowers}}
 +{{computer:​en:​phm10_0210.jpg|Flowers}}
 +{{computer:​en:​phm10_0651.jpg|Blue sky}}
 +{{computer:​en:​flowers}}
 +</​aviewer>​
 +</​code>​
 +
 +
 +
 +====Other options====
 +^%%<​aviewer clear_cache></​aviewer>​%%|Remove all cached XML files  |
 +^%%<​aviewer remove_dir></​aviewer>​%%|Clear and remove cache directory ​ |
 +
 +
 +====Configurations====
 +Administrator can configure default settings of AutoViewer.
 +
 +^Sizes ​ |Default viewer width, Default viewer height, Frame width, Frame padding|
 +^Align ​ |Default alignment for a flash slideshow. left/​right/​noalign|
 +^Colors |Default background color, Frame color of a image|
 +^Speed ​ |Display time for auto-play(sec)|
 +^Other ​ |Allow right-click|
 +
 +======Installation======
 +Be careful that this plugin needs two extra sources, '​[[cache plugin]]'​ and '​[[http://​www.airtightinteractive.com/​projects/​autoviewer/​|AutoViewer]]'​.
 +
 +{{ computer:​en:​aviewer_dir.png}}
 +  -Install '​[[cache plugin]]',​ if you haven'​t installed yet.
 +  -Download and extract {{computer:​source:​aviewer.zip}}. Extracted folder is named '​aviewer'​.
 +  -Upload aviewer to your DokuWiki'​s /​lib/​plugins/​ directory.
 +  -Download and extract Flash application from [[http://​www.airtightinteractive.com/​projects/​autoviewer/​|AutoViewer]].
 +  -Put the '​autoviewer'​ of Flash application folder into /​lib/​plugins/​aviewer/​ directory.
 +
 +======Link======
 +<float icon(compass)>​
 +  *[[Slideshow plugin]] - More customizable Flash slideshow.
 +  *[[doku>​plugin:​autoviewer]]
 +</​float>​
 +<​clear/>​
 +
 +======History======
 +  *2008-07-03
 +    *All images in a specific namespace are selectable.
 +    *Alignment function available (left/​right/​noalign)
 +  *2008-05-14
 +    *Bug fixed - not existing JpegMeta class
 +  *2008-04-05
 +    *First version uploaded.
 +{{tag>​DokuWiki plugin}}
 +
 +