mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2514 from oddstr13/image-fill-resize
Add support for fillWidth and fillHeight
This commit is contained in:
commit
2c85b7806b
5 changed files with 11 additions and 9 deletions
|
@ -615,8 +615,8 @@ import ServerConnections from '../ServerConnections';
|
|||
if (imgTag && imgType) {
|
||||
imgUrl = apiClient.getScaledImageUrl(itemId, {
|
||||
type: imgType,
|
||||
maxHeight: height,
|
||||
maxWidth: width,
|
||||
fillHeight: height,
|
||||
fillWidth: width,
|
||||
tag: imgTag
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue