summaryrefslogtreecommitdiff
path: root/client/templates
diff options
context:
space:
mode:
Diffstat (limited to 'client/templates')
-rw-r--r--client/templates/photos.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/templates/photos.html b/client/templates/photos.html
index 565e0cc..4ca451d 100644
--- a/client/templates/photos.html
+++ b/client/templates/photos.html
@@ -2,8 +2,10 @@
{{#each photos}}
{{> photo}}
{{/each}}
+ <button class="pixelate btn btn-default">Pixelate</button>
</template>
<template name="photo">
- <img src="{{images.thumbnail.url}}">
+ <img id="img-{{id}}" src="{{images.thumbnail.url}}" crossOrigin="Anonymous">
+ <canvas id="canvas-{{id}}" resize="true" style="width: 180px; height: 230px;"></canvas>
</template>