Configuring a Photo Mosaic

The photo mosaic script ( jquery-sortable-photos.js ) is automatically included as part of the gigatrees plugin and therefore included in all themes. You can use this small utility to include photo mosaics in your blog posts (or GEDCOM notes/sources). Any number of images can be included in a photo mosaic, and any number of photo mosaics can be included on a page.

First, each photo was added to the Media Library. I prefer using the cloud platform, Imgur, for hosting photos, so I used the imgur placeholders (also included as part of the gigatrees plugin) to enter my image URLs. You could enter the complete image URLs if your prefer. The first image is shown here as an example.

    <Id>      PM1                                      </Id>
    <Title>   Sample Title                             </Title>
    <Caption> Sample Caption                           </Caption>
    <Large>   <![CDATA[ <imgur>MMcxidj<il></imgur> ]]> </Large>
    <Medium>  <![CDATA[ <imgur>MMcxidj<im></imgur> ]]> </Medium>
    <Small>   <![CDATA[ <imgur>MMcxidj<is></imgur> ]]> </Small>
    <Thumb>   <![CDATA[ <imgur>MMcxidj<it></imgur> ]]> </Thumb>
    <Credit>  Photo courtesy of Tim Forsythe           </Credit>
    <Note>    Sample Note                              </Note>
    <Place>   Huntington Beach, California             </Place>
    <Date>    September, 2018                          </Date>

Next, HTML Extensions were used to add the <gallery> placeholder. Then each photo was included in the gallery using the <picture> placeholder and Embedded References. The #gallery option ensures that the images display properly inside a photo mosaic.


And, that is virtually all there is to it. You can use this feature to create mini albums of your vacation photos, or other sorts of image collections that you think your website visitors might find interesting.