aside attribute box center details exampleJsp exampleStringBodyJsp googleMap googleMapLink helloWorld helloWorldJsp image imageIndex img include index left media menu namespaces plugin plugins pluginsIndex quote recentChanges right security shadow systemStatus teaser template thumbnail toc

[ login ]   [ info ]

img (plugin)

The img plugin displays a image which has previously been uploaded to the wiki. It is simpler, than the image plugin.

Unlike the image plugin, the img plugin is not a block element. I.e. it can be within a piece of text. This gives it a advantage over the image plugin : it can be used within a wiki link's label.

For example, if I had an image called "logo.png", then I could use that image as a link to the "home" page like so :

[{{img( page="logo.png")}}|home]

That looks quite complex, so lets break it down. A normal link with a label, is like this :

[my label|home]

and in the example above, I am just replacing the text "my label" with an image instead.

{{img( page="logo.png") }}

Plugin Details

Plugin Name : img

Body type : none

Parameters

Name Details Default Required
page regex : .* true