Use `?name=orig` for original quality images

This commit is contained in:
Zed 2019-06-23 02:52:07 +02:00
parent d070e76e1a
commit dd8a7dcdff
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
#for photo in photos: #for photo in photos:
<div class="attachment image"> <div class="attachment image">
##TODO: why doesn't this work? ##TODO: why doesn't this work?
<a href=${getSigUrl(photo & ":large", "pic")} target="_blank" class="image-attachment"> <a href=${getSigUrl(photo & "?name=orig", "pic")} target="_blank" class="image-attachment">
#let style = if photos.len > 1 or groups.len > 1: "display: flex;" else: "" #let style = if photos.len > 1 or groups.len > 1: "display: flex;" else: ""
#let istyle = if photos.len > 1 or groups.len > 1: "" else: "border-radius: 7px;" #let istyle = if photos.len > 1 or groups.len > 1: "" else: "border-radius: 7px;"
<div class="still-image" style="${style}"> <div class="still-image" style="${style}">