Renamed thumb quality variable
This commit is contained in:
parent
c6cb750363
commit
57acac71da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user