Image Gallery: Difference between revisions

From UNB Archives and Special Collections
Jump to navigation Jump to search
(Created page with "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 Entries_and_P...")
 
No edit summary
Line 1: Line 1:
Image galleries are an attractive way to draw in an audience and encourage browsing.
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 [[Entries_and_Pages|page]]. The function is initiated by inserting: <nowiki><gallery mode="packed-hover"></nowiki>
To initiate an image gallery, enter the WikiTextEditor on the destination [[Entries and Pages|page]]. The function is initiated by inserting: <nowiki><gallery mode="packed-hover"></nowiki>; and ended with: <nowiki></gallery></nowiki>. In between those two commands, the image file names must be placed - each should be placed on its own line. A [[Mark-up Language|pipe]] is used to separate the image title from the caption, which should be a link to the entry associated with that image.
 
<br/>'''Example:'''
<br/><nowiki><gallery mode="packed-hover"></nowiki>
<br/><nowiki>File:Image1.jpg|[[Entry 1]]</nowiki>
<br/><nowiki>File:Image2.jpg|[[Entry 2]]</nowiki>
<br/><nowiki></gallery></nowiki>
 
 
*'''packed-hover''' is the style of gallery that presents most attractively and should be used.
 
<br/>

Revision as of 09:27, 8 August 2014

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.