+<br class="clearboth" />
+<div style="width: 100%; margin-top: 20px;">
+ <div style="float: left; margin: 0px; padding-left: 10px; width: 40px;">
+ { if $previous_url == "" }
+ { if $count != 0 }
+ <img src="resources/arrow_left_gray.png" alt="first page reached" />
+ { /if }
+ { else }
+ <a href="{$previous_url}">
+ <img src="resources/arrow_left.png" alt="previous photo" />
+ </a>
+ { /if }
+ </div>
+ <div style="float: left; margin: 0px;">
+ { if $page_selector != "" }
+ {$page_selector}
+ { /if}
+ </div>
+ <div style="width: 40px; margin-right: 0px; padding-right: 10px;">
+ { if $next_url == "" }
+ { if $count != 0 }
+ <img src="resources/arrow_right_gray.png" alt="last page reached" />
+ { /if }
+ { else }
+ <a href="{$next_url}">
+ <img src="resources/arrow_right.png" alt="next photo" />
+ </a>
+ { /if}
+ </div>
+</div>
+<br class="clearboth" />