This DokuWiki plugin displays a Flash application, AutoViewer from AirTight. It displays several JPG images with some controler buttons.
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 | aviewer.zip(4.9KB) |
|---|
<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.
<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>
| <aviewer clear_cache></aviewer> | Remove all cached XML files |
|---|---|
| <aviewer remove_dir></aviewer> | Clear and remove cache directory |
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 |
Be careful that this plugin needs two extra sources, 'cache plugin' and 'AutoViewer'.