fixing various stuff
This commit is contained in:
1 parent
d7afa5a322
commit
834715d773
6 files changed
+140
-102
No files matched your search
@@ -68,9 +68,9 @@ class ImageService
|
||||
return $this->notFoundImage;
|
||||
}
|
||||
|
||||
$image->filter(new $this->channelService->channel->imageFilters[$template]);
|
||||
$image = $image->filter(new $this->channelService->channel->imageFilters[$template]);
|
||||
try {
|
||||
$image->encode('webp', 75);
|
||||
$image = $this->imageManager->make((string)$image->encode('webp', 75));
|
||||
$image->save($templateFilePath);
|
||||
} catch (Exception $e) {
|
||||
$this->logger->error($e->getMessage());
|
||||
|
||||
Reference in new issue
Block a user