mirror of
https://github.com/friendica/friendica
synced 2024-11-11 09:02:55 +00:00
2fa9d49632
- Remove outside padding, vertical and horizontal - Remove artificial padding with <br> in content/image.tpl
5 lines
301 B
Smarty
5 lines
301 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}}
|