Skip to content

Commit

Permalink
[frontend] Transition neatly from cropped photos (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmethurst authored Sep 4, 2022
1 parent 2db0c64 commit 58c00d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/template/status.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<label for="sensitiveMedia-{{.ID}}" class="button" role="button" tabindex="0">Show sensitive media</label>
</div>
</div>
<a href="{{.URL}}" target="_blank" {{if .Description}}title="{{.Description}}"{{end}} data-pswp-width="{{.Meta.Original.Width}}px" data-pswp-height="{{.Meta.Original.Height}}px">
<a href="{{.URL}}" target="_blank" {{if .Description}}title="{{.Description}}"{{end}} data-pswp-width="{{.Meta.Original.Width}}px" data-pswp-height="{{.Meta.Original.Height}}px" data-cropped="true">
<img src="{{.PreviewURL}}" {{if .Description}}alt="{{.Description}}"{{end}} data-blurhash="{{.Blurhash}}"/>
</a>
</div>
Expand Down

0 comments on commit 58c00d9

Please sign in to comment.