Browse Source

add cdn for images

master
filesite 6 months ago
parent
commit
7dd0e539bd
  1. 2
      themes/tajian/views/site/myindex.php

2
themes/tajian/views/site/myindex.php

@ -70,7 +70,7 @@ eof;
continue; 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']; $title = !empty($file['title']) ? Html::mb_substr($file['title'], 0, 33, 'utf-8') : $file['filename'];
$platform = Html::getShareVideosPlatform($file['shortcut']['url']); $platform = Html::getShareVideosPlatform($file['shortcut']['url']);

Loading…
Cancel
Save