Skip to content

Commit

Permalink
Allow to extract webp
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 30, 2023
1 parent 15890bc commit 6b55957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/packages/liip_imagine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ liip_imagine:
quality: 100
filters:
relative_resize:
widen: 400
widen: 600
2 changes: 1 addition & 1 deletion src/Service/BookFileSystemManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6b55957

Please sign in to comment.