Request larger image from Wikimedia Commons

This commit is contained in:
Edward Betts 2021-06-17 19:12:50 +02:00
parent 6cd2bfa6b0
commit 0c98ca921c
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ def identifier_index():
@app.route("/commons/<filename>")
def get_commons_image(filename):
detail = commons.image_detail([filename], thumbheight=600, thumbwidth=600)
detail = commons.image_detail([filename], thumbheight=1200, thumbwidth=1200)
image = detail[filename]
return redirect(image["thumburl"])