diff --git a/src/_data/albums.js b/src/_data/albums.js index af4db256..59746560 100644 --- a/src/_data/albums.js +++ b/src/_data/albums.js @@ -22,7 +22,7 @@ module.exports = async function () { ) : `https://cdn.coryd.dev/albums/${album['name'].name .replace(/\s+/g, '-') - .toLowerCase()}.jpg`, + .toLowerCase()}.jpg?height=450&crop=400,400&crop_gravity=center&quality=100&sharpen=true`, url: album['mbid'] ? `https://musicbrainz.org/album/${album['mbid']}` : `https://musicbrainz.org/search?query=${encodeURI(album['name'])}&type=release_group`, diff --git a/src/_data/artists.js b/src/_data/artists.js index 926d1346..195efcb0 100644 --- a/src/_data/artists.js +++ b/src/_data/artists.js @@ -14,7 +14,9 @@ module.exports = async function () { plays: artist['playcount'], rank: artist['@attr']['rank'], image: - `https://cdn.coryd.dev/artists/${artist['name'].replace(/\s+/g, '-').toLowerCase()}.jpg` || + `https://cdn.coryd.dev/artists/${artist['name'] + .replace(/\s+/g, '-') + .toLowerCase()}.jpg?height=450&crop=450,450&crop_gravity=center&quality=100&sharpen=true` || 'https://cdn.coryd.dev/artists/missing-artist.jpg', url: artist['mbid'] ? `https://musicbrainz.org/artist/${artist['mbid']}` diff --git a/src/_data/tv.js b/src/_data/tv.js index 8cf88fa7..d4137733 100644 --- a/src/_data/tv.js +++ b/src/_data/tv.js @@ -51,7 +51,7 @@ module.exports = async function () { `https://cdn.coryd.dev/tv/${matchedEpisode['name'] .replace(':', '') .replace(/\s+/g, '-') - .toLowerCase()}.jpg?width=450&height=662&quality=100` || + .toLowerCase()}.jpg?width=450&height=662&quality=100&sharpen=true` || 'https://cdn.coryd.dev/tv/missing-tv.jpg', startingEpisode: matchedEpisode['episode'], startingSeason: matchedEpisode['season'], @@ -70,7 +70,7 @@ module.exports = async function () { `https://cdn.coryd.dev/tv/${episode['show']['title'] .replace(':', '') .replace(/\s+/g, '-') - .toLowerCase()}.jpg?width=450&height=662&quality=100` || + .toLowerCase()}.jpg?width=450&height=662&quality=100&sharpen=true` || 'https://cdn.coryd.dev/tv/missing-tv.jpg', episode: episodeNumber, season: seasonNumber,