DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pageimage

pageimage Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes

plugin pageimage is a syntax/helper plugin which gets an image related to a page for displaying it with pagelist

Last updated on
2018-10-12
Provides
Syntax, Helper
Repository
Source
Requires
pagelist

Tagged with image, 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

To display images with the pagelist plugin just use the &image flag

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

Build Status

Known Bugs and Issues

ToDo/Wish List

FAQ

Discussion

plugin/pageimage.txt · Last modified: 2018-10-14 13:34 by Laynee