Fetch original image

This commit is contained in:
SolitudeSF 2019-06-21 21:09:30 +03:00
parent e229375c0a
commit 07e244bb5b
No known key found for this signature in database
GPG key ID: 789B06817C385387

View file

@ -40,7 +40,7 @@
#for photo in photos:
<div class="attachment image">
##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 istyle = if photos.len > 1 or groups.len > 1: "" else: "border-radius: 7px;"
<div class="still-image" style="${style}">