]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/content/image.tpl
Update translation fie after adding a string
[friendica.git] / view / templates / content / image.tpl
index 6251761dc0fefe31ea8a3af065ae263deeffd0ca..2885d869fbd7c0c7cd5e7b4e0f5584c57ff0d98e 100644 (file)
@@ -1,2 +1,6 @@
+{{if $image.preview}}
+<a href="{{$image.attachment.url}}"><img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"></a>
+{{else}}
 <img src="{{$image.src}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}">
+{{/if}}
 <br>