Gallery Tutorial:
Adding JPEG metadata to a gallery
Hints demonstrated: -picturebox, -gallery, next-button, prev-button
Requires: SiteGrinder 2 Pro

Introduction

This tutorial assumes you have the document you created with the basic gallery tutorial.

Click here to download a starting document

SiteGrinder Pro can read JPEG -metadata and automatically add it to gallery pages.

Three elements are required to do this:

  • A -picturebox layer with an associated folder of images
  • A type layer with the -metadata hint added to its name
  • Special metadata codes entered into the -metadata type layer

Step By Step

We'll use the file from the previous example since it's already set up with a -picturebox. This example assumes you or your camera have placed "Exposure" and "Flash" information in the metadata of your images.

  1. Select the type tool and create a new type layer
  2. Into this layer enter the following text.
  3. What exposure:
    [[Exposure]]
    Flash status:
    [[Flash]]

  4. Name this layer Photo Info-metadata.

In the below screenshot we have added color to the metadata text we typed in. You can try this for extra credit:

When SiteGrinder generates gallery pages, if it finds a metadata layer like the one you just made, it will look for metadata in each image that matched any label it finds inside the double brackets in your -metadata layer.

SiteGrinder will replace the label and brackets with that data on the gallery page displaying that photo.

SiteGrinder will even match the text color and other formatting applied to the labels and their double brackets.

Metadata codes don't have to be on their own line, they can be mixed freely with other text.

  • Now, just open SiteGrinder and build to get a swanky, metadata-labeled slide show.
Two things to note:
  • The descriptive text we placed in the field, i.e. "Flash status:" was optional. In addition to the bracketed metadata labels you can add anything you like or nothing.
  • You can have more than one "-metadata" layer on a page. As an exercise, modify the included file to split the metadata layer into two layers, one with the exposure and the other with the camera flash info.

Where to go now

Click below for more info: