Skip to content

Commit d798317

Browse files
Update snippet.phpthumb.php
For best quality webp images
1 parent 0df478b commit d798317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/snippets/phpthumb/snippet.phpthumb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
if (file_exists($outputFilename . '.webp')) {
118118
$fNameSuf .= '.webp';
119119
} else {
120-
WebPConvert::convert($outputFilename, $outputFilename . '.webp');
120+
WebPConvert::convert($outputFilename, $outputFilename . '.webp', ['quality' => 90]);
121121
$fNameSuf .= '.webp';
122122
}
123123
}

0 commit comments

Comments
 (0)