This DokuWiki plugin generates an image-gallery/slideshow from pictures in a given namespace.
View demo: View slide-show
The following link gets the latest version of the plugin and works with DokuWiki's plugin manager: Download
http://rg42.org/gitweb/?p=pixshow.git;a=snapshot;h=release;sf=zip&.zip
The Wiki Syntax
{{pixshow>blog:2011-04-nyc?hidectl&New_York_Visit|view image slide-show of NYC visit}}
creates a link with text “view image slide-show of NYC visit” that leads to a gallery showing images in the name-space blog:2011-04-nyc titled “New York Visit” with the control-panel initially hidden.
Note that the pixshow plugin consists of two parts:
{{pixshow>NAMESPACE [?OPTIONS] [|link-text] }}
The default link-text (if none is given) is “View slide-show”.
OPTIONS is a ampersand (&) separated list: noautostart, hidectrl, notitle, TITLE.
The last given non-special option is takes as Gallery-title. If none is given, the namespace-name is used as Gallery-title unless notitle is specified.
The pixshow plugin is based on an independent JavaScript web-slideshow 1) which has been modified to use DokuWiki as data-storage and for caching scaled images…
This plugin is intended for users who keep their images organized (and ordered) with a reasonable amount of pictures per folder/namespace and want to artistically present and share those as image-galleries.
It is not intended for drop-all-images-in-one-folder use-cases. Organization and processing of images is not withing the scope of this plugin.
If you access the gallery with write-permissions to the namespace, the control panel includes a text-field to edit/update the image-caption.
The text can only be modified while the slideshow is stopped (or in manual mode: click on thumbnail). For convenience and additional navigation buttons is available at the bottom of the page:
- from left to right:
The caption-entry field allows UTF-8 text with HTML-entities and very basic HTML (no wiki syntax!).
Only <b>..</b> (bold text), <em>..</em> (emphasize/italic) and the <br/> (force line-break) HTML tags are accepted. Pressing enter will submit the new text.
The following shortcuts are automatically replaced to HTML-entities:
| separators | ... - -- () (-) | … − — · • |
|---|---|---|
| quotes | ,, `` '' << >> | „ “ ” « » |
| arrows | <- <-> -> <= <=> => | ← ↔ → ⇐ ⇔ ⇒ |
| special glyphs | (C) (TM) (R) (P) (S) (*) < > | © ™ ® ¶ § ♥ < > |
$conf['cachetime'] so that scaled images remain in the cache for an appropriate time period (1 week to 1 month).&cache=purge to the URL in order to purge the internal cache: pixshow caches image-size for each namespace. Uploading or deleting a file from a namespace will automatically flush the cache on operating-systems which support the filemtime system call.data/meta/<NAMESPACE>/<IMAGENAME>.pixs.filemtime which may not be avail on all OS)