plugin:pageimage
Table of Contents
PageImage Plugin
Compatible with DokuWiki
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" unknown
- 2018-04-22 "Greebo" yes
- 2017-02-19 "Frusterick Manners" yes
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>
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
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 |
Examples/Usage with Pagelist plugin
Syntax
To explicitly define an image for a page use following syntax anywhere on the page
~~PAGEIMAGE:<imageid>~~
Configuration and Settings
Admin Configuration
configuration | Desc | Default |
---|---|---|
default_image | default image id | “” |
height | height of the images | 70 |
Development
Change Log
- update to 2018-10-12 (2018-10-12 20:13)
- Merge pull request #1 from splitbrain-forks/php7-signature (2018-10-12 19:58)
- Adjust method signatures to match parent (2016-01-22 17:40)
- fix .travis.yml (2014-02-05 11:40)
- add travis support (2014-02-05 11:31)
- - add example.png (2014-01-10 13:33)
- update README.md (2014-01-10 11:48)
- initial commit (2014-01-10 11:43)
Known Bugs and Issues
ToDo/Wish List
FAQ
Discussion
plugin/pageimage.txt · Last modified: 2019-06-09 23:56 by Dr-Yukon