<a class="im_message_photo_thumb" ng-click="openPhoto(historyMessage.media.photo.id, {m: historyMessage.id})" ng-style="::{width: historyMessage.media.photo.thumb.width + 'px'}" ng-mouseover="preloadPhoto(historyMessage.media.photo.id)">
  <img
    class="im_message_photo_thumb"
    my-load-thumb
    thumb="historyMessage.media.photo.thumb"
  />
</a>