Version 2.1 by Marius Dumitru Florea on 2011/03/11 09:14
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

cogA simple image gallery. Images are collected from the macro content and displayed using a slide-show view.
Typejavamacro
Category
Developed byUnknown
Rating
3 Votes
LicenseUnknown

Description

Usage

{{gallery}}
image:alice.png

image:Space.Page@bob.jpg

image:http://www.xwiki.org/logo.png
{{/gallery}}

Shortcut Keys

Failed to execute the [velocity] macro. Cause: [Nested scripts are not allowed. Current Script Macro [velocity] (source [extensions:ExtensionCode.ExtensionSheet]) is executed inside Script Macro [velocity] (source [extensions:ExtensionCode.ExtensionSheet])]. Click on this message for details.

Display previous image

Display next image

Home

Display first image

End

Display last image

F

Toggle full-screen view

Esc

Exit full-screen view

Examples

Displays all the images attached to the current page:

{{velocity}}
{{gallery}}
#foreach($attachment in $doc.attachmentList)
  #if($attachment.isImage())
    image:$attachment.filename
  #end
#end
{{/gallery}}
{{/velocity}}

Screen-shots

Get Connected