diff --git a/felamimail/inc/class.uidisplay.inc.php b/felamimail/inc/class.uidisplay.inc.php index 307692067e..c67ca4fc6a 100644 --- a/felamimail/inc/class.uidisplay.inc.php +++ b/felamimail/inc/class.uidisplay.inc.php @@ -649,6 +649,7 @@ case 'IMAGE/JPEG': case 'IMAGE/PNG': case 'IMAGE/GIF': + case 'IMAGE/BMP': #case 'application/pdf': $linkData = array ( @@ -1262,7 +1263,7 @@ $this->t->set_var('size',$value['size']); $this->t->set_var('attachment_number',$key); - switch($value['mimeType']) + switch(strtolower($value['mimeType'])) { case 'message/rfc822': $linkData = array @@ -1278,6 +1279,7 @@ case 'image/jpeg': case 'image/png': case 'image/gif': + case 'image/bmp': #case 'application/pdf': $linkData = array (