Title: Gravity Forms Upload Rules
Author: Zlatev
Published: <strong>June 2, 2013</strong>
Last modified: October 2, 2016

---

Search plugins

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.

![](https://s.w.org/plugins/geopattern-icon/gravity-forms-upload-rules.svg)

# Gravity Forms Upload Rules

 By [Zlatev](https://profiles.wordpress.org/entr/)

[Download](https://downloads.wordpress.org/plugin/gravity-forms-upload-rules.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/gravity-forms-upload-rules/#description)
 * [Reviews](https://wordpress.org/plugins/gravity-forms-upload-rules/#reviews)
 *  [Installation](https://wordpress.org/plugins/gravity-forms-upload-rules/#installation)
 * [Development](https://wordpress.org/plugins/gravity-forms-upload-rules/#developers)

 [Support](https://wordpress.org/support/plugin/gravity-forms-upload-rules/)

## Description

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](https://github.com/entr/gravity-forms-upload-rules).

## Screenshots

 * [[
 * 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.

## Installation

 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.

## FAQ

Not yet.

## Reviews

![](https://secure.gravatar.com/avatar/a9b23237f05ba8a90c7cf256722b297a46f89b87eac49238f8bcf8aa2ad6702a?
s=60&d=retro&r=g)

### 󠀁[It still works on WP 6.x, Gravity Forms 2.5.x](https://wordpress.org/support/topic/it-still-works-on-wp-6-x-gravity-forms-2-5-x/)󠁿

 [Hassan Hossinie](https://profiles.wordpress.org/onlinerir/) July 5, 2023

Greate

![](https://secure.gravatar.com/avatar/e5f5551a43a0c4d02555a202b632183f1a42954c72a56a83b08766964ea0c525?
s=60&d=retro&r=g)

### 󠀁[Confirmed working on WP 5.9.x and GF 2.5x](https://wordpress.org/support/topic/confirmed-working-on-wp-5-9-x-and-gf-2-5x/)󠁿

 [manoj382](https://profiles.wordpress.org/threeatetwo/) March 14, 2022

Need a quick solution to set minimum dimensions for image uploads and this worked
right out of the box. Thanks!

![](https://secure.gravatar.com/avatar/4c045aa2c76d097e9238ccb734c81987239a345c8830aa0ae509a443b30d4d9f?
s=60&d=retro&r=g)

### 󠀁[Works fine on WP 5.x, Gravity Forms 2.5.x](https://wordpress.org/support/topic/works-fine-on-wp-5-x-gravity-forms-2-5-x/)󠁿

 [cabgfx](https://profiles.wordpress.org/cabgfx/) 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!

![](https://secure.gravatar.com/avatar/6f505c6be9a951929a99becb6b413dcfa583a5ca3dd0f7320766fee1481f0f82?
s=60&d=retro&r=g)

### 󠀁[Thanks, and there is a little gift for you : french translation 🙂](https://wordpress.org/support/topic/thanks-and-there-is-a-little-gift-for-you-french-translation/)󠁿

 [Jb Audras](https://profiles.wordpress.org/audrasjb/) 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 – https://
jeanbaptisteaudras.com/gforms_uprules_translations/gforms_uprules-fr_FR.po MO – 
https://jeanbaptisteaudras.com/gforms_uprules_translations/gforms_uprules-fr_FR.
mo Regards, Jean-Baptiste Audras @audrasjb https://jeanbaptisteaudras.com

![](https://secure.gravatar.com/avatar/50c101f4d9be877802d44713e653b7ee3306990c73a8daa836608bfa2bf2dcba?
s=60&d=retro&r=g)

### 󠀁[Should be built in to Gravity forms as standard!](https://wordpress.org/support/topic/should-be-built-in-to-gravity-forms-as-standard/)󠁿

 [angeljs](https://profiles.wordpress.org/angeljs/) March 17, 2017

Just what I needed, thank you!

![](https://secure.gravatar.com/avatar/81a024e1002ea728dfc8e752087617b62bc034fc6659a432d82aff3e86490fa2?
s=60&d=retro&r=g)

### 󠀁[works as expected](https://wordpress.org/support/topic/works-as-expected-293/)󠁿

 [dberdal](https://profiles.wordpress.org/dberdal/) 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.

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Zlatev ](https://profiles.wordpress.org/entr/)

[Translate “Gravity Forms Upload Rules” into your language.](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-upload-rules)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/gravity-forms-upload-rules/),
check out the [SVN repository](https://plugins.svn.wordpress.org/gravity-forms-upload-rules/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/gravity-forms-upload-rules/)
by [RSS](https://plugins.trac.wordpress.org/log/gravity-forms-upload-rules/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

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

#### 1.0

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

#### 0.91

 * Fixed JS issue causing “Uncaught TypeError” error

#### 0.9

 * Initial release

## Meta

 *  Version **1.0.1**
 *  Last updated **10 years ago**
 *  Active installations **200+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.6.1**
 *  [Advanced View](https://wordpress.org/plugins/gravity-forms-upload-rules/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gravity-forms-upload-rules/reviews/)

## Contributors

 *   [ Zlatev ](https://profiles.wordpress.org/entr/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/gravity-forms-upload-rules/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://zzlatev.com/gravity-forms-upload-limits/#donate)