photo attach

This commit is contained in:
Igor Zhukov 2015-04-29 23:20:53 +03:00
parent 1dd82a2ce8
commit 31900bdcfd

View File

@ -0,0 +1,8 @@
<a class="im_message_photo_thumb" ng-click="openPhoto(media.photo.id, {m: messageId})" ng-style="::{width: media.photo.thumb.width + 'px'}" ng-mouseover="preloadPhoto(media.photo.id)">
<img
class="im_message_photo_thumb"
my-load-thumb
thumb="media.photo.thumb"
/>
</a>
<div ng-if="::media.rCaption" class="im_message_photo_caption" ng-bind-html="::media.rCaption"></div>