issue92, fill alt-attribute with filename
[phpfspot.git] / themes / default / templates / single_photo.tpl
index 39e3bf4f9d1d4e89fb004cb2fc2b16f57dced1bc..d7ab987dd3cf5b14888999195cefcd1dfaa74c23 100644 (file)
@@ -68,7 +68,7 @@
  { else }
   <a href="{$next_url}" onclick="click(this);" title="click for the next photo"> 
  { /if }
  { else }
   <a href="{$next_url}" onclick="click(this);" title="click for the next photo"> 
  { /if }
-   <img src="{$image_url}" width="{$width}" height="{$height}" alt="photo" />
+   <img src="{$image_url}" width="{$width}" height="{$height}" alt="{$image_filename}" />
   </a>
  </div>
 
   </a>
  </div>