From 7dd0e539bde801053344a06f69c66d647659bfd6 Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 27 May 2024 10:44:46 +0800 Subject: [PATCH] add cdn for images --- themes/tajian/views/site/myindex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tajian/views/site/myindex.php b/themes/tajian/views/site/myindex.php index 312833a..a9b4d80 100644 --- a/themes/tajian/views/site/myindex.php +++ b/themes/tajian/views/site/myindex.php @@ -70,7 +70,7 @@ eof; continue; } - $snapshot = !empty($file['cover']) ? $imgPreffix . $file['cover'] : '/img/default.png'; + $snapshot = !empty($file['cover']) ? Html::getCDNImageUrl($imgPreffix . $file['cover']) : '/img/default.png'; $title = !empty($file['title']) ? Html::mb_substr($file['title'], 0, 33, 'utf-8') : $file['filename']; $platform = Html::getShareVideosPlatform($file['shortcut']['url']);