aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/thumbnail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/thumbnail.php b/admin/thumbnail.php
index 586fda6bc..3034e8478 100644
--- a/admin/thumbnail.php
+++ b/admin/thumbnail.php
@@ -118,7 +118,7 @@ function RatioResizeImg($path, $newWidth, $newHeight, $tn_ext)
array_push($page['errors'], '['.$tndir.'] : '.l10n('no_write_access'));
return false;
}
- imagejpeg($destImage, $dest_file);
+ imagejpeg($destImage, $dest_file, $conf['tn_compression_level']);
// freeing memory ressources
imagedestroy( $srcImage );
imagedestroy( $destImage );