Image Gallery: Difference between revisions

From UNB Archives and Special Collections
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


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.
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.
*'''packed-hover''' is the style of gallery that presents most attractively and should be used.


<br/>
<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/>etc.<br/><nowiki></gallery></nowiki>

Revision as of 08:28, 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.

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


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