";
} else {
$mime = $vars['mimetype'];
if (isset($vars['thumbnail'])) {
$thumbnail = $vars['thumbnail'];
} else {
$thumbnail = false;
}
$size = $vars['size'];
if ($size != 'large') {
$size = 'small';
}
if ($thumbnail && strpos($mime, "image/")!==false) {
echo "";
} else {
if ($size == 'large') {
echo "";
} else {
echo "";
}
}
}