diff --git a/view/templates/content/image/single.tpl b/view/templates/content/image/single.tpl index b3dfb74139..ea19c48a59 100644 --- a/view/templates/content/image/single.tpl +++ b/view/templates/content/image/single.tpl @@ -1,5 +1,10 @@ {{if $image->preview}} {{$image->description}} {{else}} -{{$image->description}} +
+ {{$image->description}} + {{if $image->description}} +
{{$image->description}}
+ {{/if}} +
{{/if}} diff --git a/view/templates/content/image/single_with_height_allocation.tpl b/view/templates/content/image/single_with_height_allocation.tpl index 1d70194bef..60b4669e3e 100644 --- a/view/templates/content/image/single_with_height_allocation.tpl +++ b/view/templates/content/image/single_with_height_allocation.tpl @@ -12,6 +12,9 @@ {{else}} {{$image->description}} + {{if $image->description}} +
{{$image->description}}
+ {{/if}} {{/if}}