From 232639189728bb8aac2bca46d08ef577d50c9571 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 22 Nov 2019 15:52:40 -0500 Subject: [PATCH] hot fix for thumbnails on lbry.tv --- ui/component/cardMedia/view.jsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ui/component/cardMedia/view.jsx b/ui/component/cardMedia/view.jsx index 383c6c24f..91bc0cf2a 100644 --- a/ui/component/cardMedia/view.jsx +++ b/ui/component/cardMedia/view.jsx @@ -20,11 +20,12 @@ class CardMedia extends React.PureComponent { let url; // @if TARGET='web' // Pass image urls through a compression proxy - url = thumbnail - ? 'https://ext.thumbnails.lbry.com/400x,q55/' + - // The image server will redirect if we don't remove the double slashes after http(s) - thumbnail.replace('https://', 'https:/').replace('http://', 'http:/') - : Placeholder; + url = thumbnail || Placeholder; +// url = thumbnail +// ? 'https://ext.thumbnails.lbry.com/400x,q55/' + +// // The image server will redirect if we don't remove the double slashes after http(s) +// thumbnail.replace('https://', 'https:/').replace('http://', 'http:/') +// : Placeholder; // @endif // @if TARGET='app' url = thumbnail || Placeholder;