diff --git a/.env.defaults b/.env.defaults index c7f381eaa..4106f95c5 100644 --- a/.env.defaults +++ b/.env.defaults @@ -15,7 +15,7 @@ WELCOME_VERSION=1.0 # Custom Site info DOMAIN=lbry.tv URL=https://lbry.tv -THUMBNAIL_CDN_URL=https://image-optimizer.vanwanet.com/?address= +THUMBNAIL_CDN_URL=https://image-processor.vanwanet.com/optimize/ # UI SITE_TITLE=lbry.tv diff --git a/ui/util/thumbnail.js b/ui/util/thumbnail.js index f2edf9477..c35baba1c 100644 --- a/ui/util/thumbnail.js +++ b/ui/util/thumbnail.js @@ -20,7 +20,7 @@ export function getThumbnailCdnUrl(props: Props) { } if (thumbnail && !thumbnail.includes('https://spee.ch')) { - return `${THUMBNAIL_CDN_URL}${thumbnail}&quality=${quality}&height=${height}&width=${width}`; + return `${THUMBNAIL_CDN_URL}s:${width}:${height}/quality:${quality}/plain/${thumbnail}`; } if (thumbnail && thumbnail.includes('https://spee.ch')) {