Support → Settings → General Settings → File Attachments
The File Attachments section allows you to manage file upload configurations for your tickets. Below are detailed explanations for each option:
-
Attachment max file size (MB)
Purpose: Set the maximum size (in MB) for files that users can attach to tickets.
Example: Enter 2000 to allow files up to 2 GB. -
Allowed File Extensions (comma-separated)
Purpose: Define which file types are allowed for attachment by specifying their extensions.
Format: Enter extensions without a dot and separate them using commas.
Example: jpg, jpeg, png, gif, pdf, doc, docx, ppt, pptx, pps, ppsx, odt, xls, xlsx, mp3, m4a, ogg, wav, mp4, m4v, mov, wmv, avi, mpg, ogv, 3gp, 3g2, zip, eml, csv, awlic -
MIME Exceptions (One per line)
Purpose: WordPress restricts certain file types by default. Use this setting to allow specific file types by mapping their extensions to their MIME types.
Format: Write each file extension and its corresponding MIME type on a new line using the format extension:MIME type
Example:
csv:text/csv
awlic:text/plainIf you need to allow file types like cam, dcm, stl, emb, pes, and jef, you can add their MIME types as follows:
cam:application/cam
dcm:application/dicom
stl:application/sla
emb:application/octet-stream
pes:application/octet-stream
jef:application/octet-stream -
Download Behaviour
Purpose: Choose how attached files should be handled when accessed.
- Try opening in browser: If set, the browser will attempt to open the file in a new tab. If the file type is unsupported, it will be downloaded.
- Download: If set, the file will be downloaded directly without attempting to open it in the browser.