make images higher res pplz

This commit is contained in:
Violet Caulfield
2025-01-25 13:27:08 -06:00
parent d07c159380
commit 84d8245c40
+2 -2
View File
@@ -10,8 +10,8 @@ export function fetchItemImage(itemId: string, imageType?: ImageType, width?: nu
.getItemImage({
itemId,
imageType: imageType ? imageType : ImageType.Primary,
width: width ? Math.ceil(width) : QueryConfig.playerArtwork.width,
height: height ? Math.ceil(height) : QueryConfig.playerArtwork.height
width: width ? Math.ceil(width * 2) : QueryConfig.playerArtwork.width,
height: height ? Math.ceil(height * 2) : QueryConfig.playerArtwork.height
}, {
responseType: 'blob'
})