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

Loading…
Cancel
Save