alternate text if thumbnail is not available
[phpfspot.git] / templates / photo_index.tpl
index f4742237dc38188cff4184858df8d3a2df84e994..89d348e51a3c90e4c4cb8d0f11015c6a69093213 100644 (file)
@@ -2,7 +2,7 @@
 <table>
  <tr>
   <td class="index_header">
-   <b>Photo Index</b><br />
+   <b>Photo Index,</b>
    {if ! $searchfor }
     {if $count == 1}
      {$count} image has been found for the selected tags
     {/if}
    {/if}
   </td>
+  <td class="index_header" style="text-align: right;">
+   <img src="resources/photo_index.png" alt="photo index" />
+  </td>
  </tr>
  <tr>
-  <td>
+  <td colspan="2">
    <div id="matrix">
    <table>
    {section name="row" loop=$rows step=1}
@@ -30,7 +33,7 @@
       <div id="outter">
       <div id="inner">
        <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" class="bubble">
-        <img class="thumb" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
+        <img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" alt="thumb_{$images[row][col]}" />
        </a>
       </div>
       </div>