]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/content/image.tpl
Merge pull request #13176 from MrPetovan/bug/warnings
[friendica.git] / view / templates / content / image.tpl
index 2885d869fbd7c0c7cd5e7b4e0f5584c57ff0d98e..00b1aac100ca38880e39b7160011088c002a3824 100644 (file)
@@ -1,6 +1,5 @@
 {{if $image.preview}}
-<a href="{{$image.attachment.url}}"><img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"></a>
+<a data-fancybox="{{$image.uri_id}}" 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>