Art Photo Gallery
Art Photo Gallery organically blends with any design thanks to flexible appearance settings. You can publish any photos and images on your site in a matter of minutes using this photo gallery.
Help > Box Flash Gallery > SWF Object > Configuring The Gallery
Box Flash Gallery - Configuring the gallery
Starting the Work
To start working simply paste object's HTML into your page and setup xml configuration file. You can place configuration file anywhere on your server.
An XML file is used to configure the gallery. By editing the XML file, you can add or remove gallery images as well as edit multiple appearance and behavior settings. The format of the XML file is described below.
Gallery settings are described in the <settings> </settings> tag of the XML file as follows: <parameter_name property="…" />
For example, the thumbnail width is configured using the parameter <thumbnail width="80"/>
Gallery images are described in the <items> </items> tag. Parameter <item source="…" thumb="…" description="…" link="…" target="…" /> contains information related to a particular image.
| <items>
<item source="1.jpg" thumb="1t.jpg" description="Image 1 " link="http://domain_name.com" target="_blank" /> <item source="…" thumb="…" description="…" link="…" target="…" /> ………………………………………… </items> |
source – Image file name;
thumb - Thumbnail file name
description – Image description;
link – Link to the web-page;
target - Controls where the new document will be displayed;
- "_self" specifies the current frame in the current window.
- "_blank" specifies a new window.
- "_parent" specifies the parent of the current frame.
- "_top" specifies the top-level frame in the current window.
XML file format
<gallery>
<imagesFolder>images/</imagesFolder>
<image scaleMode="NoScale"
/>
<thumbnail width="100"
/>height="100" alpha="70" <colorScheme thumbsFrameColor="0xFFFFFF"
/>imageBGColor="0x000000"" <imageCaption position="bottom"
/>
bgAlpha ="40" color="0xFFFFFF" bgColor="0x000000" fontName="Verdana" fontSize="12" visibleMode="always" <thumbCaption bgAlpha ="70"
/>color="0xFFFFFF" bgColor="0x333333" fontName="Arial" fontSize="9" visibleMode="never" <sound onRollOver="sounds/over.mp3"
/>
onClick="sounds/click.mp3" <picasa user="" albumID="" /> </settings>
<items>
<item source="1.jpg" thumb="1t.jpg" description="Image 1" link="http://flash-gallery.com" target="_blank"/>
<item source="2.jpg" thumb="2t.jpg" description="Image 2"/> <item source="3.jpg" thumb="" description="Image 3" /> . . .
</items>
</gallery> |




