View Single Post
Old 11-30-2007, 08:00 PM   #4 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

desc.xml
Located in /includes/templates/desc.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<folder>
    
-------foldername 1--------------------------------------
    
        <pic id="0" folder="foldername 1" info="Testing0" title="bla" />
        <pic id="1" folder="foldername 1" info="Testing1" title="test" />
        <pic id="2" folder="foldername 1" info="Testing2" title="testing" />
        <pic id="3" folder="foldername 1" info="Testing3" title="test" />
        <pic id="4" folder="foldername 1" info="Testing4" title="Testing more" />
        <pic id="5" folder="foldername 1" info="Testing5" title="testing title" />
        
-------foldername 2--------------------------------------
        
        <pic id="0" folder="foldername 2" info="Testar" title="testar title" />
        
</folder>
This is the structure of the XML file.

The long lines with "-" is not neccessary, but it does make it easier to find certain folders if you have alot of folders.

Pretty self-explenatory.
id: The id of the picture
folder: The foldername where this picture is located
info: The text that will appear below the picture when you view only that pic.
title: This is the text that will appear when you hover the picture in the gallery.
Tanax is offline  
Reply With Quote
The Following 2 Users Say Thank You to Tanax For This Useful Post:
iflashlord (05-03-2009), Nor (12-04-2007)