]> 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 92a37915ff3e50d2a2169da2dd7855523e6a19c9..00b1aac100ca38880e39b7160011088c002a3824 100644 (file)
@@ -1,5 +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}}