Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

limit-image-filesize

A WordPress plugin that limits uploaded images to 5MB filesize

Description

This plugin checks the upload file type and if it's an image, rejects it if it's larger than 5MB. Documents and other non-image media larger than 5MB are allowed.

The plugin also adds text to the message on the Media Gallery upload screen "Maximum upload file size: 100 MB. Image uploads restricted to 5 MB."

This plugin works both on the Media Library upload page and if the user uploads an image directly to a block.

The 5MB size is hardcoded.

About

A WordPress plugin that limits uploaded images to 5MB filesize

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages