show photo id during mass generating thumbnails
[phpfspot.git] / templates / single_photo.tpl
index d2d47c6a342f47ea7591ca83707899eed77c52b7..92907441f91fc76d40048e5952df14418e796a89 100644 (file)
@@ -2,7 +2,8 @@
 <table>
  <tr>
   <td class="index_header" style="text-align: left;">
-   <b>Photo {$image_name}</b>, {$c_date}, {$madewith}<br />
+   <b>Photo {$image_name}</b><br />
+   &nbsp;{$description}<br />
   </td>
   <td class="index_header" style="text-align: right;">
    <a href="{$image_url_full}" target="_blank" onclick="click(this);">
    </table>
    </div>
   </td>
+  <td style="width: 150px; padding-top: 40px;">
+   <div id="photo_details">
+   { if $ExifMadeWith }
+   <u><img src="resources/camera.png" />&nbsp;Image taken with:</u><br />
+   {$ExifMadeWith}<br />
+   { /if }
+   { if $ExifMadeOn }
+   <u><img src="resources/date.png" />&nbsp;Image made on:</u><br />
+   {$ExifMadeOn}<br />
+   { /if }
+   { if $ExifOrigResolution }
+   <u><img src="resources/image.png" />&nbsp;Original resolution:</u><br />
+   {$ExifOrigResolution}<br />
+   { /if }
+   <u>Size:</u>&nbsp;{$ExifFileSize}kbyte<br />
+   { if $tags }
+    <br />
+    <u>Tagged with:</u><br />
+    { foreach from=$tags key=id item=name }
+    <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);">{$name}</a><br />
+    { /foreach }
+   { /if }
+   </div>
+  </td>
  </tr>
 </table>
 <!-- /Single photo -->