friendica/view/templates/content/image.tpl

6 lines
335 B
Smarty
Raw Normal View History

{{if $image.preview}}
2023-05-03 22:59:28 +02:00
<a data-fancybox="{{$image.uri_id}}" href="{{$image.attachment.url}}"><img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"></a>
{{else}}
2021-04-26 08:50:12 +02:00
<img src="{{$image.src}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}">
{{/if}}