Browse Source

change cache image size from 300px -> 500px

master
jeffvli 3 years ago
parent
commit
6dc472286a
  1. 2
      src/components/card/Card.tsx
  2. 4
      src/components/viewtypes/ListViewTable.tsx

2
src/components/card/Card.tsx

@ -143,7 +143,7 @@ const Card = ({
if (cacheImages) { if (cacheImages) {
cacheImage( cacheImage(
`${rest.details.cacheType}_${rest.details.id}.jpg`, `${rest.details.cacheType}_${rest.details.id}.jpg`,
rest.coverArt.replace(/size=\d+/, 'size=350') rest.coverArt.replace(/size=\d+/, 'size=500')
); );
} }
}} }}

4
src/components/viewtypes/ListViewTable.tsx

@ -448,7 +448,7 @@ const ListViewTable = ({
}.jpg`, }.jpg`,
rowData.image.replace( rowData.image.replace(
/size=\d+/, /size=\d+/,
'size=350' 'size=500'
) )
); );
} }
@ -596,7 +596,7 @@ const ListViewTable = ({
`${cacheImages.cacheType}_${ `${cacheImages.cacheType}_${
rowData[cacheImages.cacheIdProperty] rowData[cacheImages.cacheIdProperty]
}.jpg`, }.jpg`,
rowData.image.replace(/size=\d+/, 'size=350') rowData.image.replace(/size=\d+/, 'size=500')
); );
} }
}} }}

Loading…
Cancel
Save