Topic: postcard viewer reading target urls and image info from xml

Hi

I have been through some of the posts on the forum, but am still unclear if postcardviewer allows me to read the location of images from a xml file, and also when zoomed in, be able to click on the image and goto another url, which again is passed from the same xml file. In addition can you add/overlay text on top of the picture.

tks

Dan

Re: postcard viewer reading target urls and image info from xml

The gallery's XML file can define the <url> of each image via a relative path (relative to the HTML into which the SWF file is embeded) or an absolute path.
You can add text on top of each image when zoomed in by setting a <caption>.
You can use a caption as a link to a web page by adding HTML formatting to your caption.
See FAQ #8.
An sample XML file might look something like this:

<?xml version="1.0" encoding="UTF-8" ?>
<gallery cellDimension="800" columns="4" zoomOutPerc="15" zoomInPerc="100" frameWidth="20" frameColor="0xFFFFFF" captionColor="0xFFFFFF" enableRightClickOpen="true" >
<image>
   <url>images/image2.jpg</url>
   <caption><![CDATA[Caption goes here]]></caption>
</image>
<image>
   <url>http://www.example.com/gallery/images/image1.jpg</url>
   <caption><![CDATA[<a href="http://www.simpleviewer.net/">Go to SimpleViewer web page</a>]]></caption>
</image>
</gallery>
Steven Speirs
SimpleViewer Support Team.