summaryrefslogtreecommitdiff
path: root/templates/template_picture.html
blob: d4115d18c5ce6d470d1e7f5989ec29cdedd2c596 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://www.w3.org/2005/10/profile">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>$(PAGE_TITLE)</title>
<!-- $(CGG_META_TAGS) -->
<!-- $(CGG_ATOM_FEED_TAGS) -->
	<link href="$(TEMPLATES_PATH)styles.css" type="text/css" rel="stylesheet" media="screen, print" />
	<script type="text/javascript" src="$(TEMPLATES_PATH)scripts-general.js"> </script>
</head>
<body onload="javascript: read_exif_table_cookie(); preload_image('$(IMG_SRC_PRELOAD)');">


<!--  ##  Navigation bar  -->
<div class="navigation">
  <div class="navlinks">
    <!-- $(BEGIN_NAV_BAR) -->
      <!-- $(BEGIN_NAV_BAR_FIRST) -->
        <a href="$(NAV_BAR_ELEM_LINK)" rel="home"><!-- $(NAV_BAR_ELEM_TITLE) --></a> &gt; 
      <!-- $(END_NAV_BAR_FIRST) -->
      <!-- $(BEGIN_NAV_BAR_ELEM) -->
        <a href="$(NAV_BAR_ELEM_LINK)"><!-- $(NAV_BAR_ELEM_TITLE) --></a> &gt; 
      <!-- $(END_NAV_BAR_ELEM) -->
      <!-- $(BEGIN_NAV_BAR_LAST) -->
        <a href="$(NAV_BAR_ELEM_LINK)"><!-- $(NAV_BAR_ELEM_TITLE) --></a> &gt; 
      <!-- $(END_NAV_BAR_LAST) -->
      <!-- $(BEGIN_NAV_BAR_CURRENT) -->
        <!-- $(NAV_BAR_ELEM_TITLE) -->
      <!-- $(END_NAV_BAR_CURRENT) -->
      <!-- $(BEGIN_NAV_BAR_CURRENT_ROOT) -->
        <!-- $(NAV_BAR_ELEM_TITLE) -->
      <!-- $(END_NAV_BAR_CURRENT_ROOT) -->
    <!-- $(END_NAV_BAR) -->
  </div>
  <div class="navposition">
    <span class="navposnumber"><!-- $(ITEM_INDEX) --></span> of <span class="navposnumber"><!-- $(TOTAL_ITEMS) --></span>
    <span class="navposspacer"></span>
    <a href="$(LINK_PREV)" rel="prev">&lt; Previous</a> :: <a href="$(LINK_NEXT)" rel="next">Next &gt;</a>
  </div>
  <!-- $(ifdef(HAS_EXIF)) -->
    <div class="navexif">ISO <!-- $(get_exif_value_fixed("Exif.Photo.ISOSpeedRatings")) --> :: <!-- $(get_exif_value_fixed("Exif.Photo.ExposureTime")) --> :: <!-- $(get_exif_value_fixed("Exif.Photo.FNumber")) --> :: <!-- $(get_exif_value_fixed("Exif.Photo.FocalLength")) --></div>
  <!-- $(endif(HAS_EXIF)) -->
</div>


<div class="master_content">
  <!--  ##  Description  -->
  <div class="description">
    <div class="desc_title"><!-- $(IMG_TITLE) --></div>
    <div class="desc_text"><!-- $(IMG_DESCRIPTION) --></div>
  </div>

  <!--  ##  Image  -->
  <div class="img_preview">
    <a href="$(LINK_NEXT)" rel="next"><img src="$(IMG_SRC)" width="$(IMG_SIZE_W)" height="$(IMG_SIZE_H)" alt="" id="$(value(BORDER_STYLE))" /></a>
    <!-- $(ifdef(HAS_FULLSIZE)) -->
    <div class="img_preview_full">
      <a href="$(IMG_SRC_FULLSIZE)">See original size (<!-- $(IMG_SIZE_FULLSIZE_W) -->x<!-- $(IMG_SIZE_FULLSIZE_H) -->)</a>
    </div>  
    <!-- $(endif(HAS_FULLSIZE)) -->
  </div>

  <!-- $(ifdef(SHOW_EXIF_TABLE)) -->
  <!--  ##  EXIF  -->
  <div class="exif">
    <div id="exif_table" style="display: none;">
      :: <a href="javascript: set_exif_table_visibility('no'); write_exif_table_cookie('no');">Hide EXIF</a><br/>
      <!-- $(ifdef(HAS_EXIF)) -->
      <table><tbody>
        <tr><td>Date: </td>            <td><!-- $(get_exif_value_fixed("Exif.Photo.DateTimeOriginal")) --></td></tr>
        <tr><td>Camera: </td>          <td><!-- $(get_exif_value_fixed("Exif.Image.Model")) --></td></tr>
        <tr><td>ISO: </td>             <td><!-- $(get_exif_value_fixed("Exif.Photo.ISOSpeedRatings")) --></td></tr>
        <tr><td>Focal length: </td>    <td><!-- $(get_exif_value_fixed("Exif.Photo.FocalLength")) --></td></tr>
        <tr><td>Aperture value: </td>  <td><!-- $(get_exif_value_fixed("Exif.Photo.FNumber")) --></td></tr>
        <tr><td>Exposure time: </td>   <td><!-- $(get_exif_value_fixed("Exif.Photo.ExposureTime")) --></td></tr>
        <tr><td>Flash: </td>           <td><!-- $(get_exif_value_fixed("Exif.Photo.Flash")) --></td></tr>
<!-- $(if (has_exif_key ("Exif.CanonSi.CameraTemperature"))) -->
        <tr><td>Camera temperature: </td> <td><!-- $(get_exif_value_fixed("Exif.CanonSi.CameraTemperature")) --></td></tr>
<!-- $(endif (has_exif_key ())) -->
      </tbody></table>
      <!-- $(else(HAS_EXIF)) -->
      <div class="no_exif">
        No EXIF information available.
      </div>
      <!-- $(endif(HAS_EXIF)) -->
    </div>
    <div id="exif_line" style="display: block;">
      :: <a href="javascript: set_exif_table_visibility('yes'); write_exif_table_cookie('yes');">Show EXIF</a>
    </div>
  </div>  
  <!-- $(endif(SHOW_EXIF_TABLE)) -->

  <!--  ##  Footnote, also acts as a bottom border  -->
  <div class="footnote"></div>
</div> <!-- end of master_content -->


<!--  ##  Footer  -->
<div class="footer"><!-- $(FOOTER) --></div>

</body>
</html>