From 6e39f46aaa12cd5e125c2944e9d37e9c8acf7bd3 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 24 Mar 2006 16:06:57 +0000 Subject: [PATCH] Make size of thumb box for non-existent images consistent with common 180px default size; fixes a test case --- includes/Linker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index 1cf5a57afa..aa51a1f5e9 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -572,10 +572,10 @@ class Linker { $height = $img->getHeight(); } if ( 0 == $width || 0 == $height ) { - $width = $height = 200; + $width = $height = 180; } if ( $boxwidth == 0 ) { - $boxwidth = 200; + $boxwidth = 180; } if ( $framed ) { // Use image dimensions, don't scale -- 2.20.1