Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  
Using without Director

Creating captions

Content captions are assigned as attributes in your XML file. Here's how to add them.

Before we begin...

The instructions here extend the instructions for creating slideshow images, so if you haven't already built a slideshow that loads slideshow content you should do that first before proceeding.

Step one: Choose a caption appearance

If you haven’t already, choose a caption type through Caption Appearance and style the caption area however you like. See Captions for an overview of available options.

Step two: Choose caption elements

You can display just a caption, a title, or both. This is controlled through Caption Elements. By default both captions and titles are displayed.

Step three: Edit XML

Add caption

Download the "images.xml" file from "http://yoursite.com/slideshow/" or remotely edit it through your FTP client. Add caption attributes to each img element in your XML file:

<img src="tree.jpg" caption="A redwood tree from California" />

Add title

With titles you have two options. You can assign static titles in the XML document, or instruct the player to use dynamic placeholders instead. Here's the static version:

<img src="tree.jpg" caption="A redwood tree from California" title="American redwoods" />

For dynamic, change the Caption Header Text parameter to one of the following placeholders:

{albumDescription}
{albumID}
{albumTitle}
{fileName}
{imageNumber}
{imageTitle}
{imageCount}

The default value is "{imageTitle}", which means the player will look for a static title in the XML file. But you can use the other placeholders for a more dynamic appearance.

Step four: Publish or load

Publish a new movie. Your captions will now appear using all the options you chose above. If you are using one of the “...(if Available)” caption types, remember that you need to roll-over a photo after it has fully transitioned in order for the caption to appear.

Page last modified by tdominey on August 19, 2010, at 11:00 AM
© 2011 SlideShowPro. All Rights Reserved.