aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-04-07 05:21:53 +0000
committerr <r@freesoftwareextremist.com>2021-04-07 05:21:53 +0000
commit69dc1b59a4ee995f4f6ae229df5e4a36889f48ce (patch)
tree2c2223550c102765e52953a22a4999a439692af0 /templates
parent76c5baef6ae8f5520ab40fef48532b6b5759384f (diff)
downloadbloat-69dc1b59a4ee995f4f6ae229df5e4a36889f48ce.tar.gz
bloat-69dc1b59a4ee995f4f6ae229df5e4a36889f48ce.zip
Use preview url for images
Diffstat (limited to 'templates')
-rw-r--r--templates/status.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl
index a1e2d9f..fdff1f8 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -101,7 +101,7 @@
</a>
{{else}}
<a class="img-link" href="{{.URL}}" target="_blank" title="{{.Description}}">
- <img class="status-image" src="{{.URL}}" alt="status-image" height="240" />
+ <img class="status-image" src="{{.PreviewURL}}" alt="status-image" height="240" />
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
<div class="status-nsfw-overlay"></div>
{{end}}