Skip to content

config assetfileextensions

Byrne edited this page Nov 1, 2010 · 2 revisions

AssetFileExtensions

White list of comma-separated asset file extensions which may be uploaded.

Regex syntax is supported. For example, jpe?g covers both "jpeg" and "jpg".

Default

Default asset extensions supported in MT:

AssetFileExtensions gif, jpe?g, png, bmp, tiff?, mp3, ogg, aiff, wav, wma, aac, flac, m4a, mov, avi, 3gp, asf, mp4, qt, wmv, asx, mpg, flv, mkv, ogm

Examples

Add support for pdf, and MS Word doc extensions:

AssetFileExtensions gif, jpe?g, png, bmp, tiff?, mp3, ogg, aiff, wav, wma, aac, flac, m4a, mov, avi, 3gp, asf, mp4, qt, wmv, asx, mpg, flv, mkv, ogm, pdf, docx?

Allow only limited type of images and PDF

AssetFileExtensions gif, jpe?g, png, pdf

Related

Clone this wiki locally