mirror of
https://github.com/friendica/friendica
synced 2024-12-27 20:42:20 +00:00
5 lines
335 B
Smarty
5 lines
335 B
Smarty
{{if $image.preview}}
|
|
<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}}
|