Gallery Macro

The Gallery macro displays an image gallery using attached files or images located at external URLs.


{{gallery class="<CSS Class>" height="<heightValue>px" width="<widthValue>px" }}
image://relative path to attached image//


image://link to external URL


NameOptionalDescriptionAccepted Values
classYesCustom CSS class name to apply on the gallery container in order to customize the appearance of a gallery instance.
heightYesThe gallery height - empty value means there is no explicit height set.349px
widthYesThe gallery width - empty value means there is no explicit width set.620px


Display the images attached to "Main.WebHome"


will display


Display all images visible on a page

You can display the images visible on another page by using the Display macro inside the Gallery macro.

{{display reference="Main.Team"/}}

Display images from an RSS feed

You can display the images from an RSS feed by using the RSS macro inside the Gallery macro.

{{rss feed="" content="true" decoration="false" /}}

Display images attached to the current page

To do so, you can use the Attachment Gallery macro which extends the Gallery macro.

Keyboard Shortcuts

Display the previous image
Display the next image
HomeDisplay the first image
EndDisplay the last image
FToggle full-screen view
EscExit full-screen view


Related Pages

Search this space


Most popular tags

Failed to execute the [groovy] macro
  1. access rights
  2. activity stream
  3. annotation
  4. attachment
  5. comment
  6. Document Tree Macro
  7. export
  8. Extension Manager
  9. Flamingo skin
  10. global user
  11. Groovy event listener
  12. group
  13. nested page
  14. search
  15. skin
  16. syntax
  17. user
  18. user profile
  19. velocity macros
  20. wiki
  21. wysiwyg
  22. XWiki Applications
  23. xwikiattachment_archive table
  24. xwikiattachment table
  25. xwikiattrecyclebin table
  26. xwikiproperties table

[Display all tags from this space]