![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the gallery.xml file in Dreamweaver (File -> Open), to change the content of your gallery. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Blaze Image Gallery). After that, in the category of 'Images', click the 'Edit' button near the 'Source' field. The following example shows the basic structure of the content XML file: <?xml version="1.0" encoding="utf-8"?>
<gallery>
<item image="photos/photo01.jpg" caption="Photo 01" thumb_caption="Caption 01" link="url.html" target="_blank" />
<item image="photos/photo02.jpg" caption="Photo 02" thumb_caption="Multiline
Caption 02" />
<item image="photos/photo03.jpg" caption="Photo 03" thumb_caption="Caption 03" />
</gallery>
In this example, parent <gallery> tag contains 3 child tags <item>. The first image has the hyperlink. To use hyperlink you'll need in FlashDevelopment24 Wizard, in category 'Images' set up the parameter 'Action on mouse click', in the value 'GetLink' (in the configuration XML file this parameter is 'photoAction'). In the caption of the thumbnails for the second image is used line hyphenation character '
'. The usage of the special symbol provides you to create a caption in a several lines. <gallery>Description <item>Description Attributes
Optional attributes
|