tags ui
This commit is contained in:
@@ -71,11 +71,12 @@ class ImageService
|
||||
$image->filter(new $this->channelService->channel->imageFilters[$template]);
|
||||
try {
|
||||
$image->encode('webp', 75);
|
||||
$image->save($templateFilePath);
|
||||
} catch (Exception $e) {
|
||||
$this->logger->error($e->getMessage());
|
||||
return $this->notFoundImage;
|
||||
}
|
||||
$image->save($templateFilePath);
|
||||
|
||||
return $templateUri;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user