diff --git a/doc/Install.md b/doc/Install.md index 4715c27233..c50854aaf2 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -44,7 +44,7 @@ For alternative server configurations (such as Nginx server and MariaDB database ### Optional -* PHP ImageMagick extension (php-imagick) for animated GIF support. +* PHP ImageMagick extension (php-imagick) for animated GIF and animated WebP support. ## Installation procedure diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 3d345d2317..ba03ea6533 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -395,7 +395,7 @@ class Photo $photo['backend-class'] = ExternalResource::NAME; $photo['backend-ref'] = json_encode(['url' => $url, 'uid' => $uid]); $photo['type'] = $mimetype; - $photo['filename'] = basename(parse_url($url, PHP_URL_PATH)); + $photo['filename'] = basename(parse_url($url, PHP_URL_PATH)); $photo['cacheable'] = true; $photo['blurhash'] = $blurhash; $photo['width'] = $width;