1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-22 09:57:16 +01:00

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

View File

@ -39,7 +39,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}">