Limit the number of uploads on WordPress posts
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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