From a76b5e0f75d0981a79a512dfb245adf8c3dbaf3a Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 11 Sep 2023 16:04:51 -0700 Subject: [PATCH] chore: update crop --- src/_data/albums.js | 2 +- src/_data/artists.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_data/albums.js b/src/_data/albums.js index 59746560..dd4ac231 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?height=450&crop=400,400&crop_gravity=center&quality=100&sharpen=true`, + .toLowerCase()}.jpg?width=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 195efcb0..517b29b1 100644 --- a/src/_data/artists.js +++ b/src/_data/artists.js @@ -16,7 +16,7 @@ module.exports = async function () { image: `https://cdn.coryd.dev/artists/${artist['name'] .replace(/\s+/g, '-') - .toLowerCase()}.jpg?height=450&crop=450,450&crop_gravity=center&quality=100&sharpen=true` || + .toLowerCase()}.jpg?width=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']}`