summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/image.html
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/http/tpl/image.html')
-rw-r--r--srv/src/http/tpl/image.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/srv/src/http/tpl/image.html b/srv/src/http/tpl/image.html
new file mode 100644
index 0000000..ba9b75d
--- /dev/null
+++ b/srv/src/http/tpl/image.html
@@ -0,0 +1,5 @@
+<div style="text-align: center;">
+ <a href="{{ AssetURL .ID }}" target="_blank">
+ <img src="{{ AssetURL .ID }}{{ if .Resizable }}?w=800{{ end }}" />
+ </a>
+</div>