Increase thumbnail size
This commit is contained in:
parent
f29185c914
commit
f4fbee3a8b
|
@ -188,7 +188,7 @@ def identifier_index():
|
||||||
|
|
||||||
@app.route("/commons/<filename>")
|
@app.route("/commons/<filename>")
|
||||||
def get_commons_image(filename):
|
def get_commons_image(filename):
|
||||||
detail = commons.image_detail([filename], thumbheight=250, thumbwidth=250)
|
detail = commons.image_detail([filename], thumbheight=600, thumbwidth=600)
|
||||||
image = detail[filename]
|
image = detail[filename]
|
||||||
return redirect(image["thumburl"])
|
return redirect(image["thumburl"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue