This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Gravity Forms Upload Rules


Gravity Forms is probably the most popular and mature plugin for building and managing custom forms in WordPress.

Upload Rules

This plugin attempts to fill gaps in Gravity Forms upload fields. It enables you to set file size and image size dimensions limitations to your upload fields – both file upload and image upload.

For issues and pull requests please use the GitHub repo.


  • Plugin settings in Post Image fields under Advanced tab. Filesize limit and Conditional image dimensions.
  • Plugin settings in Post Image fields under Advanced tab. Filesize limit and Exact image dimensions.


  1. Upload the gravity-forms-upload-rules folder to the /wp-content/plugins/ directory
  2. Make sure you have Gravity Forms plugin installed and activated.
  3. Activate the Gravity Forms Upload Rules plugin through the ‘Plugins’ menu in WordPress.
  4. You should be able to use the new field settings under Advanced tab of your upload fields in Gravity Forms – Form Edit screens.


Not yet.


November 25, 2019
Tried with a single image upload field, with min+max conditions, etc. Works like a charm. All translations work as well, I generated mine (Danish) from the .POT file included. Thanks!
July 6, 2017
Hi, thanks for this nice plugin 🙂 I translated your plugin manually with poedit since it is not properly prepared for GlotPress internationalization. Here is the DL links to get my fr_FR translation and add it to your next version: PO - MO - Regards, Jean-Baptiste Audras @audrasjb
March 15, 2017
This allowed me to set minimum dimensions for gravity forms photo upload. How is this not built in to gravity forms??? Thankfully there is your plugin.
September 3, 2016
It's always nice when a plugin just works. I was sceptical given it hadn't been updated in so long. But if it aint broke, don't fix it
Read all 9 reviews

Contributors & Developers

“Gravity Forms Upload Rules” is open source software. The following people have contributed to this plugin.




  • Proper static function declarations
  • Tweak admin field styles for better compatability with recent GF versions
  • Normalize line-endings and indentation


  • Possible fix for those who don’t get upload rules fields in their admin form editor


  • Fixed JS issue causing “Uncaught TypeError” error


  • Initial release