Skip to content

Adds extra upload rules to file/image Gravity Froms upload fields. You will be able to limit upload file size and dimensions of uploaded images.

Notifications You must be signed in to change notification settings

entr/gravity-forms-upload-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Gravity Forms Upload Rules ===
Contributors: entr
Donate link: http://zzlatev.com/gravity-forms-upload-limits/#donate
Tags: gravity-forms upload-rules upload
Requires at least: 3.0
Tested up to: 3.6
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Adds extra upload rules to file/image Gravity Froms upload fields. You will be able to limit upload file size and dimensions of uploaded images.

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

== 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.
3. You should be able to use the new field settings under Advanced tab of your upload fields in Gravity Forms - Form Edit screens.

== Frequently asked questions ==

Not yet.

== Screenshots ==

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

== 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

== Upgrade notice ==

About

Adds extra upload rules to file/image Gravity Froms upload fields. You will be able to limit upload file size and dimensions of uploaded images.

Resources

Stars

Watchers

Forks

Packages

No packages published