Changing File Type Restrictions for Image Upload
I would like to upload .mp3s via the image upload tab of image properties. It says it is not a supported file type. Where in the files may I find the list so that I may add .mp3?
Thank you.
I would like to upload .mp3s via the image upload tab of image properties. It says it is not a supported file type. Where in the files may I find the list so that I may add .mp3?
Thank you.
You can add this to the list of allowed file types for the images in this file:
HTMLEditor/editor/filemanager/connectors/php/config.php
Around line 142 there is the list of allowed extensions:
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ;
You can just add mp3 to the list like this:
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png', 'mp3') ;
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.