add mp3 to thumbless filetypes, see #454
This commit is contained in:
parent
8dc27c6b97
commit
edde7848b8
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user