https://github.com/envato/wp-image-size-limit
Wordpress plugin for limiting the image file size
https://github.com/envato/wp-image-size-limit
Last synced: about 1 year ago
JSON representation
Wordpress plugin for limiting the image file size
- Host: GitHub
- URL: https://github.com/envato/wp-image-size-limit
- Owner: envato
- Created: 2013-12-18T04:18:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T17:01:42.000Z (over 8 years ago)
- Last Synced: 2025-03-23T23:33:38.079Z (about 1 year ago)
- Language: PHP
- Size: 223 KB
- Stars: 7
- Watchers: 35
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP Image Size Limit
This is a fork of the [original plugin], with these changes:
[original plugin]: http://wordpress.org/plugins/wp-image-size-limit/
## MIME Type Pattern
Added option to limit the upload size only for the specified MIME types
based on a [regular expression pattern]. It defaults to "/^image\//", which
means anything starting with "image/", e.g. it will only enforce the size
limitation to "image/png", "image/jpeg", "image/foobar", but not
"application/something".
[regular expression pattern]: http://php.net/manual/en/reference.pcre.pattern.syntax.php