diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-08-23 12:40:00 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-08-23 12:40:00 -0400 |
| commit | 0ede34dfee0099ba3fa2191eec8ac0913882e8a7 (patch) | |
| tree | 42fbf8d1e9b346941097d89b2577fed4bc643b69 /www/templates/events.html | |
| parent | 4570893ed78c9522afbace311cdee1a94b5d3168 (diff) | |
rework thumbnail logic, move to function
Diffstat (limited to 'www/templates/events.html')
| -rw-r--r-- | www/templates/events.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index 5993156c..23b5c728 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -97,9 +97,9 @@ <!-- thumbnail --> <!-- ng-image-appear transition-duration="0.5s" animation="fillIn" bg-color="#50a4e2" {{event.Event.thumbWidth}}X{{event.Event.thumbHeight}}--> - <div style="max-height:200px; max-width:200px"> + <div > <img ng-image-appear no-loader transition-duration="0.3s" animation="fillIn" bg-color="#6C7A89" ng-src="{{constructThumbnail(event)}}" - on-tap="closeIfOpen(event);openModalWithSnapshot(event)" width="100%" height="100%" /> + on-tap="closeIfOpen(event);openModalWithSnapshot(event)" width="{{event.Event.thumbWidth}}" height="{{event.Event.thumbHeight}}" /> <!--<p>{{event.Event.thumbWidth}}px*{{event.Event.thumbHeight}}px</p>--> </div> |
