Limiting File Size
You can configure file size limits in Documents and Media. Set a maximum file upload size or for more granularity, define file size limits based on MIME Types. This can take effect across various scopes: system, instance, specific sites, and asset libraries.
Limiting File Size at the System and Instance Levels
-
Open the Global Menu (
), go to the Control Panel tab, and click Instance Settings under Configuration.
If you have a standalone (i.e., non-Cloud) installation, you can set system-level settings. Click System Settings under Configuration instead and follow the remaining steps.
NoteThe system-level file size limit overrides the instance-level limit. Similarly, limits set in higher scopes override those set in lower scopes, such as asset libraries.
-
Click Documents and Media under Content and Data.
-
Select File Size Limits under System Scope.
-
You can set the Upload Limit and the MIME Type limit for the system and instance.
Limiting File Size in a Specific Site
-
Navigate to the site, open the Site Menu (
), expand Configuration, and go to Site Settings.
-
Click Documents and Media under Content and Data.
-
Select File Size Limits under System Scope.
-
You can set the Upload Limit (1) and the MIME Type limit (2) for the site.
Limiting File Size in a Specific Asset Library
-
Open the Global Menu (
), go to the Applications tab, and click Asset Libraries under Content.
-
Open the Asset Library you want to configure.
-
Select Asset Library Settings.
-
In the General tab, you can set the File Max Size for the asset library under Documents and Media.
Setting the Maximum File Upload Size
For all scopes, you can set a maximum file upload size in bytes.
-
Follow the steps above to navigate to the relevant settings based on the scope.
-
Set the Maximum File Upload Size option for system, instance, and sites levels, or the File Max Size option for asset libraries.
Set this value to
0
to allow unlimited file size for documents.ImportantThe portal has a maximum file size set by the Overall Maximum Upload Request Size property in the Upload Servlet Request. The default value is
104857600
bytes (100 MB).To change this value, open the Global Menu, go to the Control Panel, and click System Settings. Under Platform, select Infrastructure, then click Upload Servlet Request. Update the Overall Maximum Upload Request Size field and save the new value.
Setting a MIME Type Limit
For system, instance, and site scopes, you can set a maximum file size for specific MIME Types.
-
Use the instructions in
to navigate to the relevant settings based on the scope.
-
In the MIME Type field, add the MIME Type you want to restrict (e.g.,
image/png
), and set the maximum file size for that MIME Type.Set this value to
0
to allow unlimited file size for documents.ImportantEnsure that the MIME Types are supported and configured under System Settings → Documents and Media → Service under System Scope.
-
To add restrictions for other MIME Types, click Add (
) next to the Maximum File Size field and repeat the previous step.