A basic gallery can be added by selecting a namespace like this:
All imagefiles in the selected namespace will be added to the image gallery. Note: those images need to be a valid pagename, eg. all lowercase.
You can define the wanted thumbnail size by adding its dimension as parameter:
The default is a dimension of 120×120 pixels.
You can define the number of columns as well:
The default number of columns is 5 and can be configured in the config manager. If you specify a 0 no table is used instead all thumbnails are added in a sequence.
To have the filename displayed below the thumbnails add the
showname parameter (if this is made the default in the config, you may disable it with
If you want the files sorted in the reverse order use the
reverse keyword (if this is made the default in the config, you may disable it with
If you don't want to link to the image detail pages but directly to the image itself use the
direct parameter (if this is made the default in the config, you may disable it with
lightbox keyword 1). This feature implicitly sets the direct parameter. If this is made the default in the config, you may disable it with
All params can be combined:
You can also specify the size of lightbox images. It is done the same way as with thumbnails, except using a capital 'X'. The default is 800×600.
IMPORTANT: When you have added your pictures they may not show up in the gallery: add '&purge=true' to the end of the URL to clear the cache - and then you should see them.
This mode will open the clicked picture inside the current browser window without leaving the current page. You can close the picture view by clicking the little X in the upper right corner or anywhere in the picture. You can move to the next or previous image by using the arrow buttons in the lower corners.
The picture is downsized if necessary to fit into the current browser window. You can enlarge it with the arrow button in the top corner.
The following keys can be used to navigate:
| ||next image|
| ||previous image|
| ||close the image view|
Note: The feature does not use Version 2 of the Lightbox script because of its heavy and DokuWiki-incompatible dependencies.