close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Changing File Type Restrictions for Image Upload

Thread began 1/09/2010 2:10 pm by marc38009 | Last modified 1/12/2010 10:36 am by Eric Mittman | 2130 views | 1 replies |

marc38009

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.

Sign in to reply to this post

Eric Mittman

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:

php:
$Config['AllowedExtensions']['Image']    = array('bmp','gif','jpeg','jpg','png') ;



You can just add mp3 to the list like this:

php:
$Config['AllowedExtensions']['Image']    = array('bmp','gif','jpeg','jpg','png', 'mp3') ;
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...