summaryrefslogtreecommitdiffstats
path: root/application/config/mimes.php
diff options
context:
space:
mode:
authorRafael Schwemmer <rafael.schwemmer@textandbytes.com>2015-11-05 22:49:17 +0100
committerRafael Schwemmer <rafael.schwemmer@textandbytes.com>2015-11-05 22:49:17 +0100
commit76d5f881ecd0c70759cbebc9c5c622ef7d716aa8 (patch)
tree71abe4f238433d9a23aac69d96414570b7e90655 /application/config/mimes.php
parent514896e1b0df12bc82dac785fa7c9ed4f62585e6 (diff)
Added MIME types for JPEG2000
Added all MIME types and file extensions to support JPEG2000 images as allowed file type.
Diffstat (limited to 'application/config/mimes.php')
-rw-r--r--application/config/mimes.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/application/config/mimes.php b/application/config/mimes.php
index 8eff4d2d5..a9b82008f 100644
--- a/application/config/mimes.php
+++ b/application/config/mimes.php
@@ -78,6 +78,14 @@ return array(
'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'),
+ 'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'jpg2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'jpx' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
+ 'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff',
'tif' => 'image/tiff',