when click on the loupe open a new window and display the image
[phpfspot.git] / templates / single_photo.tpl
1 <!-- Single photo -->
2 <table>
3  <tr>
4   <td class="index_header" style="text-align: left;">
5    <b>Photo {$image_name}</b>, {$c_date}, {$madewith}<br />
6   </td>
7   <td class="index_header" style="text-align: right;">
8    <a href="{$image_url_full}" target="_blank">
9     <img src="resources/loupe.png" />
10    </a>
11    <img src="resources/information.png" />
12   </td>
13  </tr>
14  <tr>
15   <td colspan="2">
16    <div id='single'>
17    <table>
18     <tr>
19      <td colspan="3">
20      { if $next_url == "" }
21       <a href="javascript:showPhotoIndex();">
22      { else }
23       <a href="{$next_url}"> 
24      { /if }
25        <img src="{$image_url}" width="{$width}" height="{$height}" />
26       </a>
27      </td>
28     </tr>
29     <tr>
30      <td style="text-align: left; width: 33%;">
31       { if $previous_url == "" }
32        &nbsp;
33       { else }
34       <a href="{$previous_url}">
35        <img src="resources/arrow_left.png" />
36       </a>
37       { /if }
38      </td>
39      <td style="text-align: center; width: 33%;">
40       <a href="javascript:showPhotoIndex();">
41        <img src="resources/arrow_up.png" />
42       </a>
43      </td>
44      <td style="text-align: right; width: 33%;">
45       { if $next_url == "" }
46       &nbsp;
47       { else }
48       <a href="{$next_url}"> 
49        <img src="resources/arrow_right.png" />
50       </a>
51       { /if}
52      </td>
53     </tr>
54    </table>
55    </div>
56   </td>
57  </tr>
58 </table>
59 <!-- /Single photo -->