summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-20 15:02:22 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-20 14:02:22 +0100
commitad700c5029688ffabae568c23bedd7bb333f7f33 (patch)
tree189e5657eb53722df004cd94727b0518bd9b4ef2 /web/template
parent[feature] use webp for thumbnails (#3116) (diff)
downloadgotosocial-ad700c5029688ffabae568c23bedd7bb333f7f33.tar.xz
[chore/frontend] Use smaller webp images for logo and default avatars (#3119)
Diffstat (limited to 'web/template')
-rw-r--r--web/template/status_attachments.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/status_attachments.tmpl b/web/template/status_attachments.tmpl
index 5df3d1c5c..8e05aafd8 100644
--- a/web/template/status_attachments.tmpl
+++ b/web/template/status_attachments.tmpl
@@ -62,7 +62,7 @@
/>
{{- else }}
<img
- src="/assets/logo.png"
+ src="/assets/logo.webp"
loading="lazy"
{{- if .Description }}
alt="{{- .Description -}}"
@@ -134,7 +134,7 @@ media photoswipe-gallery {{ (len .) | oddOrEven }} {{ if eq (len .) 1 }}single{{
data-pswp-width="{{- $media.Meta.Small.Width -}}px"
data-pswp-height="{{- $media.Meta.Small.Height -}}px"
{{- else }}
- poster="/assets/logo.png"
+ poster="/assets/logo.webp"
width="518px"
height="460px"
{{- end }}