|
Sample XML configuration file of a Flash Photography Template |
Explanation |
|
photogallery defaultfolder="0"> |
<-- Open the photoalbum tag |
| <music>music.mp3</music> |
<-- Set background music here |
| <txt id="1"> |
|
| <![CDATA[My Photo Gallery (PA010)]]> |
<-- CDATA in tag txt of id="1" sets the title of album |
| </txt> |
|
| <folder><item id="1" pid="0" /></item></folder> |
<-- default folder tag for albums, which can be ignored |
| |
|
|
<photo> |
<-- Open the photo tag to define photos |
|
<item fid="1"> |
<-- Each item tag represents a photo. Set fid to item id of a folder tag. |
|
<txt id="1"> |
<-- txt tag of id="1" contains information of the thumbnail |
|
<![CDATA[Flower 01]]> |
<-- CDATA in tag sets description text of the thumbnail |
| </txt> |
<-- Close the txt tag |
| <txt id="2"> |
<-- txt tag of id="2" contains information of the full size photo |
| <![CDATA[Your Description Here]]> |
<-- CDATA in tag sets description text of the full size photo |
| </txt> |
<-- Close the txt tag |
| <src id="1" w="198" h="126">a4gallery_thumbs/tn_image01.jpg</src> |
<-- src tag of id="1" contains size and path of the thumbnail |
| <src id="2" w="1238" h="820">a4gallery_images/image01.jpg</src> |
<-- src tag of id="2" contains size and path of the full size photo |
| </item> |
<-- Close the item tag |
| ..... |
|
| </photo> |
<-- Close the photo tag |
| </photogallery> |
<-- Close the photogallery tag |
| |
|