summaryrefslogtreecommitdiff
path: root/sample/src/setup.xml
blob: f9cb4601dd57416fcb30012a8869d3e7b94c6d38 (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
36
37
38
39
40
41
42
43
44
45
<?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="80" />
    <preview landscape_w="900" landscape_h="600" 
             portrait_w="500" portrait_h="750"
             quality="95" />
    <!--  preview image border style - use your custom CSS style to display frame around image -->
    <border style="border_single" />
  </images>
  
  <!--  META tags in html head section  -->
  <meta>
    <author>John Doe</author>
    <description>CGG Sample gallery</description>
    <!--  keywords are usually not needed at all  -->
    <keywords>cataract, sample, gallery</keywords>
  </meta>

  <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>