summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/email.html2
-rw-r--r--templates/photo.liquid7
2 files changed, 5 insertions, 4 deletions
diff --git a/templates/email.html b/templates/email.html
index fab1372..7456eeb 100644
--- a/templates/email.html
+++ b/templates/email.html
@@ -1,6 +1,6 @@
HANSEL AND GRETEL
<br><br>
-<img src='cid:plain.jpg'>
+<img src='cid:face.jpg'>
<br><br>
<a href='https://hanselgretelarmory.com/photo/{{id}}'>Download your photo</a>
<br><br>
diff --git a/templates/photo.liquid b/templates/photo.liquid
index 278d4fe..088403b 100644
--- a/templates/photo.liquid
+++ b/templates/photo.liquid
@@ -169,9 +169,10 @@ a {
</body>
<script>
var hash = document.location.pathname.replace('/photo/','').replace(/\/.*/,'')
-image('dots')
-image('lines')
-image('plain')
+console.log(hash)
+image(hash, 'dots')
+image(hash, 'lines')
+image(hash, 'plain')
function image(hash, type) {
var img = new Image
img.src = 'https://marsupial.s3.amazonaws.com/armory/mail/' + hash + '-' + type + '.jpg'