From 0c98ca921cbadb1756a8c24cfd658c6864ca2803 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 17 Jun 2021 19:12:50 +0200 Subject: [PATCH] Request larger image from Wikimedia Commons --- web_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_view.py b/web_view.py index 628fc16..a8eba45 100755 --- a/web_view.py +++ b/web_view.py @@ -233,7 +233,7 @@ def identifier_index(): @app.route("/commons/") 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"])