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)

This commit is contained in:
Savetheinternet 2011-04-12 22:58:01 +10:00
parent e7eae32892
commit 5f94009fad
2 changed files with 18 additions and 5 deletions

View file

@ -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.