3 <div class="header_title">
4 <b>Photo {$image_name}</b><br />
6 {$photo_number} of {$photo_count}
12 {if isset($description) }
13 - {$description}<br />
17 <div class="header_menu">
18 <a href="javascript:zoom(-10);" title="zoom_out" onclick="click(this);"><img src="{$web_path}/resources/zoom-out.png" /></a>
19 <a href="javascript:zoom(0);" title="zoom_100" onclick="click(this);"><img src="{$web_path}/resources/zoom-100.png" /></a>
20 <a href="javascript:zoom(10);" title="zoom_in" onclick="click(this);"><img src="{$web_path}/resources/zoom-in.png" /></a>
21 <a href="javascript:startAutoBrowse();" title="auto browsing"><img id="autobrowse_ico" src="{$web_path}/resources/16_play.png" /> Auto-Browse</a>
22 {if isset($extern_link) }
23 <a href="{$extern_link}" title="Use this link to return to the current view"><img src="{$web_path}/resources/link.png" /> External Link</a>
25 <a href="{$image_url_full}" title="orig_image" target="_blank" onclick="click(this);"><img src="{$web_path}/resources/original.png" alt="original resolution" /> Fullsize</a>
31 <div id="photo_details">
32 { if isset($ExifMadeWith) }
33 <u><img src="{$web_path}/resources/camera.png" alt="camera icon" /> Image taken with:</u><br />
36 { if isset($ExifMadeOn) }
37 <u><img src="{$web_path}/resources/date.png" alt="calendar icon" /> Image made on:</u><br />
40 { if isset($ExifOrigResolution) }
41 <u><img src="{$web_path}/resources/image.png" alt="resolution icon" /> Original resolution:</u><br />
42 {$ExifOrigResolution}px<br />
44 <u>Size:</u> {$ExifFileSize}<br />
45 { if isset($image_rating) && $image_rating > 0 }
46 <u><img src="{$web_path}/resources/rating.png" alt="rating" /> Rating:</u><br />
47 {section name="rating" loop=$image_rating step=1}
48 <img src="{$web_path}/resources/star.png" />
52 { if isset($has_versions) }
55 <select onchange="update_photo_version(this, {$photo});">
56 { photo_version_select_list photo=$photo current=$version }
62 <u><img src="{$web_path}/resources/small_available_tags.png" alt="available tags" /> Tagged with:</u><br />
63 { foreach from=$tags key=id item=name }
64 <a class="smalltag" href="javascript:Tags('add', '{$id}');" onfocus="click(this);">{$name}</a><br />
68 { if isset($prev_img) && isset($previous_url) }
69 <u><img src="{$web_path}/resources/photo.png" alt="photo icon" /> Previous:</u><br />
70 <a href="{$previous_url}" onfocus="click(this);" id="prev_link">
71 <img src="{$web_path}/phpfspot_img.php?idx={$prev_img}&width={$mini_width}" /><br />
74 { if isset($next_img) && isset($next_url) }
75 <u><img src="{$web_path}/resources/photo.png" alt="photo icon" /> Next:</u><br />
76 <a href="{$next_url}" onfocus="click(this);" id="next_link">
77 <img src="{$web_path}/phpfspot_img.php?idx={$next_img}&width={$mini_width}" /><br />
82 <!-- the photo itself -->
85 { if !isset($next_url) || $next_url == "" }
86 <a href="{$image_url}" onclick="showPhotoIndex(); return false;" onfocus="click(this);" name="photo">
88 <a href="{$image_url}" onclick="{$next_url}; return false;" onfocus="click(this);" title="click for the next photo" name="photo">
90 <img src="{$image_url}" width="{$width}" height="{$height}" alt="{$image_filename}" name="photo" id="photo" />
94 <!-- navigation arrows -->
96 <div class="photonavigation">
99 { if !isset($previous_url) || $previous_url == "" }
100 <img src="{$web_path}/resources/arrow_left_gray.png" alt="first photo reached" />
102 <a href="{$previous_url}" onfocus="click(this);" title="click for the previous photo (left cursor)">
103 <img src="{$web_path}/resources/arrow_left.png" alt="previous photo" />
107 <!-- back to index -->
108 <a href="javascript:showPhotoIndex({$current_page}, {$current_img});" onfocus="click(this);" title="click to go back to the index">
109 <img src="{$web_path}/resources/arrow_up.png" alt="photo index" />
113 { if !isset($next_url) || $next_url == "" }
114 <img src="{$web_path}/resources/arrow_right_gray.png" alt="last photo reached" />
116 <a href="{$next_url}" onfocus="click(this);" title="click for the next photo (right cursor)">
117 <img src="{$web_path}/resources/arrow_right.png" alt="next photo" />
122 <script type="text/javascript">
124 if(autobrowse && document.getElementById("autobrowse_ico"))
125 document.getElementById("autobrowse_ico").src = '{$web_path}/resources/16_pause.png';
127 /* lets preload to previous and the next image to speedup */
128 var image_next = new Image();
129 image_next.src = "{$web_path}/phpfspot_img.php?idx={$next_img}&width={$photo_width}";
130 var image_prev = new Image();
131 image_prev.src = "{$web_path}/phpfspot_img.php?idx={$prev_img}&width={$photo_width}";
135 <!-- /Single photo -->