Accepted file formats

Allowed download file types

The array of allowed download file types is set in globals.xml configuration file. The default configuration is as follows, and allows all file types:

<file_types config:type="array" />

To allow specific file types only, items should be added to file_types as follows:

<file_types>
    <item>pdf</item>
</file_types>

This will only allow files ending with ".pdf" to be uploaded to the website downloads section.

Allowed multimedia and image file types

The array of allowed multimedia file types is set in globals.xml configuration file. The default configuration is as follows:

<allowed_multimedia_types config:type="array">
    <item>image/gif</item>
    <item>image/jpeg</item>
    <item>image/pjpeg</item>
    <item>image/png</item>
    <item>image/x-citrix-gif</item>
    <item>image/x-citrix-pjpeg</item>
    <item>image/x-png</item>
    <item>audio/mp3</item>
    <item>audio/mpeg3</item>
    <item>audio/x-mpeg-3</item>
    <item>audio/mpg</item>
    <item>audio/mpeg</item>
    <item>audio/wav</item>
    <item>audio/x-wav</item>
    <item>audio/x-ms-wma</item>
    <item>audio/m4a</item>
    <item>audio/mp4</item>
    <item>video/avi</item>
    <item>video/msvideo</item>
    <item>video/x-msvideo</item>
    <item>video/x-ms-wmv</item>
    <item>video/quicktime</item>
    <item>video/mp4</item>
    <item>video/mpeg</item>
    <item>video/x-mpeg</item>
    <item>video/x-m4v</item>
    <item>video/x-flv</item>
    <item>video/vnd.mpegurl</item>
    <item>video/x-sgi-movie</item>
    <item>video/x-ms-asf</item>
</allowed_multimedia_types>

Additional allowed types can be added by adding a new item element within allowed_multimedia_types that specifies the additional mime type.

results matching ""

    No results matching ""