Skip to content

Commit b378dc8

Browse files
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.
1 parent e038c28 commit b378dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/media/MediaInterface.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ interface MediaInterface {
190190
* Retrieved thumbnail height will be about this tall, but must be at least this height.
191191
* A larger number means higher thumbnail resolution but more network usage.
192192
*/
193-
const val THUMB_HEIGHT_PX = 220
193+
const val THUMB_HEIGHT_PX = 450
194194

195195
const val MEDIA_PARAMS =
196196
"&prop=imageinfo|coordinates&iiprop=url|extmetadata|user&&iiurlheight=" +

0 commit comments

Comments
 (0)