diff options
Diffstat (limited to 'templates/photo.liquid')
| -rw-r--r-- | templates/photo.liquid | 7 |
1 files changed, 4 insertions, 3 deletions
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' |
