try using smaller images, with links
Ted Unangst tedu@tedunangst.com
Tue, 30 Jan 2024 17:39:49 -0500
2 files changed,
5 insertions(+),
1 deletions(-)
M
views/honk.html
→
views/honk.html
@@ -72,7 +72,7 @@ {{ else }}
{{ if $omitimages }} <p><a href="/d/{{ .XID }}">Image: {{ .Name }}</a>{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} {{ else }} -<p><img src="/d/{{ .XID }}" loading=lazy title="{{ .Desc }}" alt="{{ .Desc }}"> +<a href="/d/{{.XID}}"><img class="donk" src="/d/{{ .XID }}" loading=lazy title="{{ .Desc }}" alt="{{ .Desc }}"></a> {{ end }} {{ end }} {{ else }}
M
views/style.css
→
views/style.css
@@ -369,6 +369,10 @@ }
details summary { outline: none; } + .noise img.donk { + max-height: 100px; + display: inline; + } } @media print { #topmenu, #topspacer, #infobox, #refreshbox, .actions {