feat: limit size of cover art

This commit is contained in:
Deluan
2020-02-07 16:51:14 -05:00
parent 8f0c07d29f
commit 52cd17963f
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -28,7 +28,11 @@ const AlbumDetails = ({ id, classes }) => {
return (
<Card className={classes.container}>
<CardMedia
image={subsonicUrl('getCoverArt', data.coverArtId || 'not_found')}
image={subsonicUrl(
'getCoverArt',
data.coverArtId || 'not_found',
'size=500'
)}
className={classes.albumCover}
/>
<CardContent className={classes.albumDetails}>