3 <div style="float: left;">
7 {$count} image is the result for your search about "{$searchfor}".
9 {$count} images are the result for your search about "{$searchfor}".
13 {$count} image has been found for the selected tags.
15 {$count} images have been found for the selected tags.
19 {$count} image has been found.
21 {$count} images have been found.
24 {if $from_date && $to_date }
26 Results are limited to a date within {$from_date} to {$to_date}.
29 <div style="text-align: right">
31 <a href="{$slideshow_link}" title="Slideshow" target="_blank"><img src="resources/slideshow.png" /></a>
34 <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
37 <a href="{$export_link}" target="_blank" title="this will open a new browser window where you can export this page in several formats"><img src="resources/export.png" /></a>
40 <a href="{$rss_link}" target="_blank" title="RSS feed"><img src="resources/rss.png" /></a>
47 {section name="thumb" loop=$thumbs step=1}
51 <div class="thumb" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');" style="width: { $thumb_container_width }px; height: { $thumb_container_height }px;">
52 <a href="javascript:showImage({$images[thumb]}, 'scrollup');" id="thumblink{$images[thumb]}" name="image{$img_id[thumb]}" class="thumblink" onclick="click(this);" title="{$img_title[thumb]}">
53 <img class="thumb" id="thumbimg{$images[thumb]}" width="{$img_width[thumb]}" height="{$img_height[thumb]}" />
58 <a href="phpfspot_img.php?idx={$images[thumb]}&width={$preview_width}" alt="thumb_{$images[thumb]}" rel="lightbox[photoidx]" title="Preview of {$img_fullname[thumb]}"><img src="resources/eyes.png" /></a>
67 <br class="clearboth" />
68 <div style="width: 100%; margin-top: 20px;">
70 <!-- the right nav arrow -->
71 <div style="float: right; width: 40px; margin-right: 0px; padding-right: 10px;">
72 { if $next_url == "" }
74 <img src="resources/arrow_right_gray.png" alt="last page reached" />
77 <a href="{$next_url}" id="next_link" title="click for the next page (right cursor)">
78 <img src="resources/arrow_right.png" alt="next photo" />
83 <!-- the left nav arrow -->
84 <div style="float: left; margin: 0px; padding-left: 10px; width: 40px;">
85 { if $previous_url == "" }
87 <img src="resources/arrow_left_gray.png" alt="first page reached" />
90 <a href="{$previous_url}" id="prev_link" title="click for the previous page (left cursor)">
91 <img src="resources/arrow_left.png" alt="previous photo" />
96 <!-- the middle page selector -->
97 <div style="text-align: center;">
98 { if $page_selector != "" }
103 <br class="clearboth" />
104 <script type="text/javascript" language="JavaScript">
106 /*** image preloading ***/
110 var image_urls = new Array();
113 {section name="thumb" loop=$thumbs step=1}
115 image_urls[{counter}] = 'phpfspot_img.php?idx={$images[thumb]}&width={$width}';
116 last_thumb = {$images[thumb]};
120 preloadPhotos(image_urls);
124 // if browser is to far down the page, that he can't see the photo at all
125 // scroll it up so that at least the last photo becomes visisble.
130 // check where we are with the browser
131 if (window.pageYOffset) {
132 ywnd = window.pageYOffset;
133 } else if (document.body && document.body.scrollTop) {
134 ywnd = document.body.scrollTop;
136 // check the y-pos of the last thumbnail
137 if(thumbimg = document.getElementById('thumbimg' + last_thumb)) {
138 yimg = findPos(thumbimg,'top');
140 // if the browser-window is scrolled further then the last_thumb, scroll back
142 window.scrollTo(0, yimg-100);
150 <!-- /Photo Index -->