From b378dc8f5424fd83cc6646be530e42f669c15e69 Mon Sep 17 00:00:00 2001 From: Jason Whitmore Date: Wed, 7 May 2025 15:45:57 -0700 Subject: [PATCH] MediaInterface.kt: adjust thumbnail height parameter Before this commit, the thumbnail height parameter was too small, causing low resolution thumbnails to render. This commit more than doubles the parameter, increasing the thumbnail resolution. --- app/src/main/java/fr/free/nrw/commons/media/MediaInterface.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/free/nrw/commons/media/MediaInterface.kt b/app/src/main/java/fr/free/nrw/commons/media/MediaInterface.kt index 7becde8c1..643374e54 100644 --- a/app/src/main/java/fr/free/nrw/commons/media/MediaInterface.kt +++ b/app/src/main/java/fr/free/nrw/commons/media/MediaInterface.kt @@ -190,7 +190,7 @@ interface MediaInterface { * Retrieved thumbnail height will be about this tall, but must be at least this height. * A larger number means higher thumbnail resolution but more network usage. */ - const val THUMB_HEIGHT_PX = 220 + const val THUMB_HEIGHT_PX = 450 const val MEDIA_PARAMS = "&prop=imageinfo|coordinates&iiprop=url|extmetadata|user&&iiurlheight=" +