summaryrefslogtreecommitdiff
path: root/sample/src/setup.xml
blob: ae92918645e16c912bbdf4922eac97c69340d702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<gallery_setup>
  <templates>
    <!-- path to templates (design)  -->
    <path>../../templates</path>
    
    <!-- index: top level page -->
    <index>template-index.tmpl</index>   
    <!-- album: list of photos in directory -->
    <album>template-album.tmpl</album>
    <!-- photo: single photo page -->
    <photo>template-view_photo.tmpl</photo>

    <!-- mandatory files used in templates -->
    <styles>styles.css</styles>
    <scripts>scripts-general.js</scripts>
  </templates>
  
  <images>
    <!--  default sizes of thumbnail and preview images  -->
    <thumbnail landscape_w="180" landscape_h="120" 
               portrait_w="120" portrait_h="180"
               quality="95" />
    <preview landscape_w="900" landscape_h="600" 
             portrait_w="500" portrait_h="750"
             quality="95" />
  </images>
  
  <footer><![CDATA[
  <div class="footer">So this is footer, suitable place for copyright, W3C validation links and advertisement! | 
    Generated with <a href="http://cgg.bzatek.net/" title="Cataract Gallery Generator" class="footermail">Cataract Gallery Generator</a>.
  </div>
  ]]></footer>

</gallery_setup>