From f9ec5d6de466b6a7c9eb4766ca228aff754284f5 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 22 Apr 2009 14:05:16 +0000 Subject: Make the scaling based on the target thumbnail size that was specified at thumbnail creation. This will remove the upscaling effect --- core/controllers/albums.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers') diff --git a/core/controllers/albums.php b/core/controllers/albums.php index b580bcca..50a46c17 100644 --- a/core/controllers/albums.php +++ b/core/controllers/albums.php @@ -216,7 +216,7 @@ class Albums_Controller extends Items_Controller { * @return int */ public function thumb_proportion() { - return module::get_var("core", "thumb_size", 150) / 150; + return module::get_var("core", "thumb_size", 200) / 200; } } -- cgit v1.2.3