Opens in a new tab
WP PowerSuite home
Turquoise abstract wavy W logo on a black background
Black
Friday
SALE
UP TO70%OFF

Summarize with AI:

On This Page
Last updated: 03/09/2026

Limit Media Upload Size

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

Overview

Limit Media Upload Size lets you enforce a lower maximum file size for WordPress Media Library uploads without changing PHP or hosting configuration.

Set a Media Library limit in megabytes and WP PowerSuite enforces the smaller of your configured value, PHP upload_max_filesize, and post_max_size. The same effective limit is reflected in supported WordPress media interfaces so users see the real restriction before they upload.

Limit Media Upload Size is a Free module in WP PowerSuite.

Solid black square
Solid black square
Who is this for?
  • Agencies preventing clients from uploading unnecessarily large media files
  • Shared-hosting sites with limited disk space or processing resources
  • Editorial teams that need a clear media-size policy
  • Sites that want smaller uploads without changing server configuration
  • Administrators controlling REST and Media Library upload sizes consistently

Features

Custom Media Upload Limit
Set a WordPress Media Library upload limit from 1 MB to 1000 MB.
Server-Aware Effective Limit
Never claim a higher limit than PHP upload_max_filesize or post_max_size can actually accept.
Classic Media Upload Protection
Reject oversized Media Library files before WordPress saves them.
REST Upload Protection
Return an HTTP 413 error for oversized REST media uploads.
Accurate WordPress Upload Message
Adjust the supported media interface's Maximum upload file size value to match the effective policy.
Media-Only Scope
Do not interfere with plugin or theme ZIP installation uploads.

Set a Clear Media Upload Policy Inside WordPress

Respect the Real PHP and Hosting Limits

Apply the Same Rule to Classic and REST Media Uploads

Show Users the Limit Before They Upload

Control File Size Separately From File Type

Limit Media Upload Size does not inspect whether the file is an image, video, PDF, or another allowed media type. It applies a size ceiling only.
If you specifically want selected WordPress roles to stop uploading video while still allowing ordinary media below the size limit, Block Video Uploads provides that role-based file-type policy.
This separation lets a site combine a broad maximum-size rule with more specific policies where appropriate.

Use Cases

  • Client Media Policies
    Prevent clients from uploading oversized media while leaving server configuration unchanged.
  • Image-Heavy Publishing
    Encourage editors to optimize large photos before adding them to WordPress.
  • Shared Hosting
    Reduce the chance of very large uploads consuming storage and image-processing resources.
  • REST Media Workflows
    Apply the same file-size policy to integrations that upload media through the WordPress REST API.

Frequently Asked Questions

Related Modules

Add custom image sizes beyond WordPress defaults. Create exact dimensions for hero banners, product thumbnails, or any layout requirement — no code...
Disabled
Adds smaller AVIF copies for JPEG and PNG uploads so pages can load faster. Optional setting to show those images to modern...
Disabled
Package your media library into downloadable ZIP files—the entire library, specific months, or folders (when Media Categories is enabled). ZIPs auto-expire after...
Disabled
Disk usage at a glance on the dashboard home.
Disabled
Allow AVIF image uploads in the Media Library. Requires GD or Imagick with AVIF support on the server.
Disabled
Automatically load more images in the media library when scrolling to the bottom. Loads 80 images at a time until all are...
Disabled
Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any...
Disabled
Generate accessible, SEO-friendly alt text with AI. Includes a dashboard, review queue, background processing, multi-provider support, REST/WP-CLI automation, and Pro extras like...
Disabled
Find media files not used anywhere on your site and delete them to reclaim storage space. Clean up orphaned images from deleted...
Disabled
Automatically clean uploaded image filenames by converting to lowercase, removing special characters, and adding a unique identifier. No configuration needed.
Disabled