Renamed thumb quality variable

This commit is contained in:
Tobias Reich 2016-06-11 15:53:13 +02:00
parent c6cb750363
commit 57acac71da

View File

@ -295,7 +295,7 @@ final class Photo {
Plugins::get()->activate(__METHOD__, 0, func_get_args());
// Quality of thumbnails
$thumbQuality = 90;
$quality = 90;
// Size of the thumbnail
$newWidth = 200;
@ -311,7 +311,7 @@ final class Photo {
// Read image
$thumb = new Imagick();
$thumb->readImage($url);
$thumb->setImageCompressionQuality($thumbQuality);
$thumb->setImageCompressionQuality($quality);
$thumb->setImageFormat('jpeg');
// Copy image for 2nd thumb version