Commit 68b10565 authored by Tino Goratsch's avatar Tino Goratsch

use the gallery picture's description as the alternative text

parent e619a0ae
......@@ -8,14 +8,14 @@
<img src="{uri args="gallery/index/image/id_`$picture.id`/action_normal"}"
width="{$picture.width}"
height="{$picture.height}"
alt=""
alt="{$picture.description|strip_tags|trim}"
class="img-thumbnail">
</a>
{else}
<img src="{uri args="gallery/index/image/id_`$picture.id`/action_normal"}"
width="{$picture.width}"
height="{$picture.height}"
alt=""
alt="{$picture.description|strip_tags|trim}"
class="img-thumbnail">
{/if}
<div class="description">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment