friendica-github/view/templates/content/image.tpl

7 lines
306 B
Smarty
Raw Normal View History

{{if $image.preview}}
<a href="{{$image.attachment.url}}"><img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"></a>
{{else}}
2021-04-26 06:50:12 +00:00
<img src="{{$image.src}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}">
{{/if}}
2021-04-26 06:50:12 +00:00
<br>