mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Display thumbnail in admin file list if video has thumbnail
This commit is contained in:
parent
84bbd60895
commit
d3415b5e01
1 changed files with 3 additions and 1 deletions
|
|
@ -93,7 +93,9 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
|||
<!-- one document end -->
|
||||
<tr>
|
||||
<td><!--@if(preg_match('/\.(?:bmp|gif|jpe?g|png|webp)$/i', $val->source_filename))-->
|
||||
<img src="{$val->uploaded_filename}" style="width:50px;height:50px;object-fit:cover">
|
||||
<img src="{$val->uploaded_filename}" style="width:50px;height:50px;object-fit:cover;margin-right:4px">
|
||||
<!--@elseif($val->thumbnail_filename)-->
|
||||
<img src="{$val->thumbnail_filename}" style="width:50px;height:50px;object-fit:cover;margin-right:4px">
|
||||
<!--@end-->
|
||||
<a href="{htmlspecialchars_decode($val->download_url)}">{htmlspecialchars($val->source_filename, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a></td>
|
||||
<td class="nowr">{FileHandler::filesize($val->file_size)}</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue