diff options
| author | jules <jules@carbonpictures.com> | 2017-05-21 01:56:19 +0000 |
|---|---|---|
| committer | jules <jules@carbonpictures.com> | 2017-05-21 01:56:19 +0000 |
| commit | 0d213b99599be8e5761940a535c4a76d254de04c (patch) | |
| tree | d53b1ca884dcafa4b9f482084a25a4268a290fd9 /templates | |
| parent | 1cafb6c10701cd5504144c2713d5235b919280bd (diff) | |
ok
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/email.html | 2 | ||||
| -rw-r--r-- | templates/photo.liquid | 7 |
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' |
