add mp3 to thumbless filetypes, see #454
This commit is contained in:
parent
8dc27c6b97
commit
edde7848b8
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class BaseThemelet {
|
|||
$h_tip = html_escape($image->get_tooltip());
|
||||
$h_tags = strtolower($image->get_tag_list());
|
||||
|
||||
$extArr = array_flip(array('swf', 'svg')); //List of thumbless filetypes
|
||||
$extArr = array_flip(array('swf', 'svg', 'mp3')); //List of thumbless filetypes
|
||||
if(!isset($extArr[$image->ext])){
|
||||
$tsize = get_thumbnail_size($image->width, $image->height);
|
||||
}else{
|
||||
|
|
Reference in a new issue