WP PowerSuite
150+ modules in one suite — toggle only what you need. Zero runtime cost for features you leave off.
See Plans
On This Page
v 1.0.0
Last updated: 10/03/2026

Limit Media Upload Size

Caps how large an upload can be—helpful for shared hosting or editorial guidelines.

Overview

Limit Media Upload Size sets a maximum file size for media uploads in the WordPress admin. Files larger than the limit are rejected with a clear error message. Default limit is 10 MB. Set any value from 1 to 1000 MB. This helps prevent large files from consuming server storage. Note: The limit cannot exceed your server’s PHP upload_max_filesize and post_max_size. The module settings show your server’s current limits so you can set an appropriate value.

Who is this for?
Site owners who want to prevent users from uploading very large files, or those with limited storage who need to enforce size limits.

Features

Configurable Limit
Set maximum upload size from 1 to 1000 MB. Default is 10 MB.
Server Limit Display
Module settings show your server's upload_max_filesize and post_max_size so you know the upper bound.
Clear Error Message
When a file exceeds the limit, users see: "File size exceeds the maximum allowed size of X MB."
Applies to All Media Uploads
Affects uploads via Media Library, post editor, and other admin upload flows that use wp_handle_upload.

How It Works

1
Enable the Module
Go to WP PowerSuite, find "Limit Media Upload Size," and click the Enable button.
2
Configure Settings
Open the module settings. Set the maximum upload size in MB (1–1000). Check the server limits shown—your setting cannot exceed them.
3
Save
Settings save automatically. Uploads larger than the limit are rejected.
Performance Note
Minimal. Uses upload_size_limit and wp_handle_upload_prefilter. One check per upload. No impact when not uploading.

Installation & Activation

1
Install WP PowerSuite
Make sure the WP PowerSuite plugin is installed and activated on your site.
2
Enable the Module
Go to the WP PowerSuite menu, find "Limit Media Upload Size" in the module list, and click the Enable button.
3
Configure Settings
Open the module settings. Set maximum upload size (MB). Save.
Requirements
PHP 8.1 or higher WordPress 6.0 or higher Permission to manage options (Administrator)

Use Cases

  • UploadLimits
    Prevent large video or image uploads that consume storage
  • StorageControl
    Enforce limits for client or multi-user sites
  • QuotaManagement
    Stay within hosting storage quotas
  • BackupOptimization
    Reduce backup size and transfer times

Frequently Asked Questions

Troubleshooting

  • Uploads still accepted when over limit
    Ensure the module is enabled and you saved the settings. Check that your limit is below the server's upload_max_filesize and post_max_size. The module cannot override server limits.
  • Error message not clear
    The message shows the limit in MB. If users see a different error, it may be from the server (e.g. post_max_size exceeded) before WordPress processes the file.