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

---

Search plugins

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

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

# Gravity Forms Upload Rules

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

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

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

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

## Disgrifiad

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).

## Lluniau Sgrin

[⌊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 Conditional image dimensions.⌉[

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.⌉⌊Plugin settings in Post Image fields under Advanced tab. Filesize
limit and Exact image dimensions.⌉[

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

## Gosod

 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.

## Cwestiynau Cyffredin

Not yet.

## Adolygiadau

![](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/) Gorffennaf 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/) Mawrth 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/) Tachwedd 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/) Gorffennaf 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/) Mawrth 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/) Mawrth 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.

Cyfranwyr

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

## Cofnod Newid

#### 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 blynedd yn ôl**
 *  Active installations **200+**
 *  WordPress version ** 3.0 neu uwch **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/gravity-forms-upload-rules/)
 *  [Advanced View](https://cy.wordpress.org/plugins/gravity-forms-upload-rules/advanced/)

## Graddau

 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/)

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](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)