Where the upload size limit shows
Every intranet has a maximum size for a single uploaded file. It applies to images, PDFs, Word and Excel files and anything else added through the Media Library or the Add Media button on a page, task or news story.
To see the limit, go to Media, then Add New Media File. Under the drop area WordPress prints Maximum upload file size followed by the limit in megabytes. The same line appears on the Upload files tab of the Add Media window.
If a file is bigger than the limit, the upload stops and WordPress shows an error naming the file and saying it exceeds the maximum upload size for this site. Nothing is saved.
What sets the upload limit and who can change it
The limit is not a Govintra setting. The theme sets no upload limit of its own and has no option to change one. The figure comes from the web server’s PHP configuration, which only the intranet’s developer or hosting provider can change. On a multisite network there is also a network setting, Max upload file size, under Network Admin, Settings, which can lower the limit but not raise it above what the server allows.
If you need a larger limit, ask whoever hosts or develops your intranet, saying what size you need and why. The limit is separate from the list of allowed file types: WordPress also refuses types it does not recognise, such as SVG, whatever their size.
Forum attachment limits
If your intranet has the GD bbPress Attachments plugin, files attached to forum topics and replies have their own, usually smaller, limit. Someone who can manage forums sets it under Forums, Attachments:
- Maximum file size, in KB. The plugin’s default is 512 KB.
- Maximum files to upload with a single topic or reply. The default is 4.
- Allow upload to, the roles that may attach files.
Each forum can override the first two on its own edit screen by ticking Override Defaults. Staff see the limit above the file chooser on the topic or reply form, as “Maximum file size allowed is 512 KB” or similar, and a bigger file is refused with “File exceeds allowed file size.” The plugin has no file-type setting of its own: it accepts the same types as the Media Library, and the site-wide upload limit still applies.
Profile photo limits
With the Staff directory module on, the Profile photo field on the profile edit page accepts JPG, PNG and WebP images of at least 150 by 150 pixels. There is no separate size limit for photos beyond the site-wide maximum upload file size. A photo that is too small or the wrong type is refused with a message saying why. See Update your staff profile for the recommended dimensions.
What to do with a file that is too large
- Images: resize the picture before uploading; 1,600 pixels wide is plenty for a page, and saving a photo as JPG at a lower quality setting shrinks it with no visible loss. See Add an image to a page. WordPress makes smaller copies after upload, at sizes set in Change the standard image sizes. If your intranet has the EWWW Image Optimizer plugin with Max Image Dimensions set, big images are also scaled down after upload, but the upload limit is unchanged.
- PDFs: use your PDF tool’s “reduce file size” or “compress” option, or export again from the original document at a lower image quality.
- Word, PowerPoint and Excel files: compress the embedded pictures with the file’s own picture tools, or save a PDF copy, which is usually smaller.
- Video and audio: do not upload them to the Media Library. Host them on a video service and embed the link: see Embed video, audio and animated GIFs.
- Anything else: split it into parts, or store it on a shared drive or document system and link to it from the page.
