Compatible with DokuWiki
Similar to autoviewer, gallery, gallery2, slideshow
External requirements: This plugin requires the following additional components that must be installed separately:
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
See the plugin in action here.
This plugin takes input images from a given namespace or a list of given images. It then generates a XML file which the simpleviewer SWF uses to show the gallery.
Almost all simpleviewer attributes can be defined for a gallery. If you do not specify these, then default values are taken from the Configuration Page.
The plugin in its most simplest form (use root namespace):
<sviewer>
{{:}}
</sviewer>
Custom simpleviewer attributes:
<sviewer 900 700 left modern A165FF 000000 30 bottom 2 1 true false 800 600 1 "Test Gallery">
{{:image1.jpg}}
{{:image2.jpg}}
</sviewer>
<sviewer width height align galleryStyle textColor frameColor frameWidth thumbPosition thumbColumns thumbRows showOpenButton showFullscreenButton maxImageWidth maxImageHeight captionMode "Title">
{{namespace or images}}
</sviewer>
Attributes explained (also written in the configuration page):
| Attribute | Explaination |
|---|---|
| width | SimpleViewer width |
| height | SimpleViewer height |
| align | SimpleViewer alignment (LEFT/RIGHT/NOALIGN) |
| galleryStyle | Gallery Style (MODERN/COMPACT/CLASSIC) |
| textColor | Color of title and caption text |
| frameColor | Color of image frame, thumbnail frame, image navigation arrows and thumb navigation arrows |
| frameWidth | Width of image frame |
| thumbPosition | Position of thumbnails relative to main image (TOP/BOTTOM/RIGHT/LEFT/NONE) |
| thumbColumns | Number of thumbnail columns |
| thumbRows | Number of thumbnail rows |
| showOpenButton | Whether to show “Open Image in New Window” button and right-click menu option (TRUE/FALSE) |
| showFullscreenButton | Whether to show “Go Fullscreen” button and right-click menu option (TRUE/FALSE) |
| maxImageWidth | Width of the widest image in the gallery. Used to determine the best layout for your gallery |
| maxImageHeight | Height of tallest image in the gallery. Used to determine the best layout for your gallery |
| captionMode | Captionmode, 0=No caption, 1=Filename as caption, 2=Filename as caption without extension |
| title | SimpleViewer title |
The original plugin was made by Ikuo Obataya (see his AutoViewer plugin here). Thanks for your effort Ikuo!
I modified his plugin to work with SimpleViewer.
Syntax.php modifications
~~NOCACHE~~
If you encounter any problems post them here in the Discussion heading please, or contact me, i will respond as soon as possible :)