1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add support for fillWidth and fillHeight

I have probably missed a few places it should be used
This commit is contained in:
Odd Stråbø 2021-03-17 22:43:52 +01:00
parent 5fb38139b8
commit 814713235e
5 changed files with 11 additions and 9 deletions

View file

@ -156,7 +156,7 @@ function backdropImageUrl(apiClient, item, options) {
options.type = options.type || 'Backdrop';
// If not resizing, get the original image
if (!options.maxWidth && !options.width && !options.maxHeight && !options.height) {
if (!options.maxWidth && !options.width && !options.maxHeight && !options.height && !options.fillWidth && !options.fillHeight) {
options.quality = 100;
}