From 5f94009fad79ec2babaadb8e16e6f83f163d2964 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 12 Apr 2011 22:58:01 +1000 Subject: When a thumbnailed image is going to be the same (in dimension), just copy the entire file and use that as a thumbnail instead. (optional) --- inc/config.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index 8818e646..6b7a7e8c 100644 --- a/inc/config.php +++ b/inc/config.php @@ -153,6 +153,9 @@ $config['thumb_width'] = 255; $config['thumb_height'] = 255; + // When a thumbnailed image is going to be the same (in dimension), just copy the entire file and use that as a thumbnail instead of resizing/redrawing + $config['minimum_copy_resize'] = true; + // Store image hash in the database for r9k-like boards implementation soon // Function name for hashing // sha1_file, md5_file, etc. -- cgit v1.3