summaryrefslogtreecommitdiff
path: root/www/templates/timeline-modal.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-30 10:55:59 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-30 10:55:59 -0400
commitf286615882223adf7bc309c75a142286b5044cc1 (patch)
tree5fa006dcdcde6a223543d5cad4102993741b00a0 /www/templates/timeline-modal.html
parentdee2ad4192126f82a7afbe1974b4470b0d0218af (diff)
#618 add token for basic auth as "fyi" for all images
Diffstat (limited to 'www/templates/timeline-modal.html')
-rw-r--r--www/templates/timeline-modal.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html
index afed79f5..d3e4592e 100644
--- a/www/templates/timeline-modal.html
+++ b/www/templates/timeline-modal.html
@@ -25,12 +25,9 @@
<figure style="display:inline-block">
<figcaption class="smallnote">f:{{alarm.fid}} scr:{{alarm.score}} @ {{alarm.time}}</figcaption>
- <img ng-if="event.Event.imageMode=='path'" image-spinner-src="{{event.Event.baseURL}}/index.php?view=image&path={{event.Event.relativePath}}{{alarm.fname}}&height=380" style="width: auto; height: auto;max-width: 100%;max-height: 170px" on-tap="showImage(event.Event.baseURL,event.Event.relativePath,alarm.fname, alarm.fid, event.Event.Id, event.Event.imageMode, alarm.id)" image-spinner-loader="lines"/>
+ <img image-spinner-src="{{constructFrames(event,alarm)}}" style="width: auto; height: auto;max-width: 100%;max-height: 170px" on-tap="showImage(event.Event.baseURL,event.Event.relativePath,alarm.fname, alarm.fid, event.Event.Id, event.Event.imageMode, alarm.id)" image-spinner-loader="lines"/>
- <img ng-if="event.Event.imageMode=='fid'" image-spinner-src="{{event.Event.baseURL}}/index.php?view=image&fid={{alarm.id}}" style="width: auto; height: auto;max-width: 100%;max-height: 170px" on-tap="showImage(event.Event.baseURL,event.Event.relativePath,alarm.fname, alarm.fid, event.Event.Id, event.Event.imageMode, alarm.id)" image-spinner-loader="lines"/>
-
-
-
+
</figure>
</span>