mirror of
https://github.com/friendica/friendica
synced 2024-11-14 09:42:54 +00:00
6 lines
306 B
Smarty
6 lines
306 B
Smarty
{{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>
|