summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-22 14:05:16 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-22 14:05:16 +0000
commitf9ec5d6de466b6a7c9eb4766ca228aff754284f5 (patch)
treec8c518199aaa3139912f87f2d68e1c73f2dbe222 /core
parentb4bca043ac01c1889b526302a9be619d98832df0 (diff)
Make the scaling based on the target thumbnail size that was specified
at thumbnail creation. This will remove the upscaling effect
Diffstat (limited to 'core')
-rw-r--r--core/controllers/albums.php2
1 files changed, 1 insertions, 1 deletions
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;
}
}