diff --git a/config/packages/liip_imagine.yaml b/config/packages/liip_imagine.yaml index 7c037799..a928c350 100644 --- a/config/packages/liip_imagine.yaml +++ b/config/packages/liip_imagine.yaml @@ -17,4 +17,4 @@ liip_imagine: quality: 100 filters: relative_resize: - widen: 400 \ No newline at end of file + widen: 600 \ No newline at end of file diff --git a/src/Service/BookFileSystemManager.php b/src/Service/BookFileSystemManager.php index 7f7d813d..7c062602 100644 --- a/src/Service/BookFileSystemManager.php +++ b/src/Service/BookFileSystemManager.php @@ -18,7 +18,7 @@ class BookFileSystemManager '*.epub', '*.cbr', '*.cbz', '*.pdf', '*.mobi', ]; - public const VALID_COVER_EXTENSIONS = ['jpg', 'jpeg', 'png', 'gif']; + public const VALID_COVER_EXTENSIONS = ['jpg', 'jpeg', 'png', 'gif', 'webp']; public function __construct(private KernelInterface $appKernel, private SluggerInterface $slugger, private LoggerInterface $logger) {