aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-20 09:40:32 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-20 09:40:32 +0200
commit96f23758b4c0e2b997a8c3579639a57f5c533649 (patch)
tree22342fb92a56086ac37fca13433b56d42acbe30a /view/tpl
parentf00887ea42e04caecb9cbc56d92c2e70513768af (diff)
downloadvolse-hubzilla-96f23758b4c0e2b997a8c3579639a57f5c533649.tar.gz
volse-hubzilla-96f23758b4c0e2b997a8c3579639a57f5c533649.tar.bz2
volse-hubzilla-96f23758b4c0e2b997a8c3579639a57f5c533649.zip
hubzilla photo object compatibility
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/conv_item.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index 30a007bd6..c16e7d6a6 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -33,6 +33,11 @@
<div class="wall-item-content" id="wall-item-content-{{$item.id}}">
<div class="wall-item-title-end"></div>
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" >
+ {{if $item.is_photo}}
+ <div class="wall-photo-item" id="wall-photo-item-{{$item.id}}">
+ <a href="{{$item.photo.link}}"><img style="max-width:{{$item.photo.width}}px; width:100%; height:auto;" src={{$item.photo.url}}></a>
+ </div>
+ {{/if}}
{{$item.body}}
{{if $item.tags}}
<div class="body-tag">