pageimage is a syntax/helper plugin which gets an image related to a page for displaying it with pagelist
Compatible with DokuWiki
pageimage is a syntax/helper plugin which gets an image related to a page for displaying it with pagelist
Together with pageimage, the pagelist plugin can display an image related to the page.
<pagelist&image> * [[pages:page1]] * [[pages:page2]] </pagelist>
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
There are 4 ways in which pageimage can find an image related to a page.
Defined | ~~PAGEIMAGE:wiki:dokuwiki-128.png~~ |
---|---|
Convention | image with same id in same namespace (extension jpg/png/jpeg) |
Firstimage | the first image in the page is used |
Default Image | defined in admin config |
To explicitly define an image for a page use following syntax anywhere on the page
~~PAGEIMAGE:<imageid>~~
configuration | Desc | Default |
---|---|---|
default_image | default image id | “” |
height | height of the images | 70 |