// Thumbnail extension, empty for inherited (png recommended)
$config['thumb_ext'] = '';
// Thumbnail quality (compression level), from 0 to 9
$config['thumb_quality'] = 7;
// 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