Image Gallery

From UNB Archives and Special Collections
Revision as of 09:27, 8 August 2014 by Markmcumber (talk | contribs)
Jump to navigation Jump to search

Image galleries are an attractive way to draw in an audience and encourage browsing.

To initiate an image gallery, enter the WikiTextEditor on the destination page. The function is initiated by inserting: <gallery mode="packed-hover">; and ended with: </gallery>. In between those two commands, the image file names must be placed - each should be placed on its own line. A pipe is used to separate the image title from the caption, which should be a link to the entry associated with that image.


Example:
<gallery mode="packed-hover">
File:Image1.jpg|[[Entry 1]]
File:Image2.jpg|[[Entry 2]]
</gallery>


  • packed-hover is the style of gallery that presents most attractively and should be used.