Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Limit the number of uploads on WordPress posts
Latest commit ecdd464 @bueltge whitespace for readme
Failed to load latest commit information.
languages fix load language files, set in a class and autoloader for classes
.gitignore First commit for the new repo on github
license.txt First commit for the new repo on github
limit-image-upload.php Bugfix for Loop about all attachments, update readme

Limit Upload

Limit the number of uploads on posts


Limit the number of uploads from images/attachments on posts/pages and custom post types



  • WordPress (also Multisite) version 3.3 and later (tested at 3.4)
  • PHP 5.3


  1. Unpack the download-package
  2. Upload the file to the /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Ready


Current have the plugin no settings in the backend of WordPress - a problem of time from my site.

But you can simply change the values in the main file limit-image-upload.php. See in the method start_limit_image_upload() and change the values on the var $args for your requirements.


Other Notes


Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a small donation for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)


The plugin comes with various translations, please refer to the WordPress Codex for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all defintions and may be used with a gettext editor like Poedit (Linux, Mac OS X, Windows) or the fine plugin Codestyling Localization for WordPress.

Contact & Feedback

The plugin is designed and developed by me (Frank Bültge)

Please let me know if you like the plugin or you hate it or whatever ... Please fork it, add an issue for ideas and bugs.


I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks

Something went wrong with that request. Please try again.