🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 19, 2026

Gravity Forms File Upload: The Complete Guide (2026)

GravityExtra
Gravity Forms File Upload: The Complete Guide (2026)

A Gravity Forms file upload field is easy to add, but real projects quickly ask for more: clean file names, smaller images, cropped profile photos, big videos, files in the cloud and attachments in the admin email. This guide shows how to get there step by step.

It is written for site owners and developers who already use Gravity Forms and want to go further with Gravity Forms file upload handling. Every example uses a GravityExtra add-on and the real setting names you will see in your dashboard.

What Gravity Forms Does Out of the Box (and Where It Stops)

Out of the box Gravity Forms gives you a File Upload field with allowed file extensions, a maximum file size, single or multiple files and a maximum number of files for multi-file fields. Uploaded files are saved in a dated folder inside your uploads directory, and the entry shows links to them. Notifications can include the file links.

That covers a simple contact form. It usually stops short when you need any of the following:

  • Rules about image width, height or megapixels, and automatic resizing of huge phone photos.
  • Copies of uploads in the WordPress Media Library.
  • Files far larger than your PHP upload limit.
  • Cropping, a camera, or a video or voice recorder inside the form.
  • Actual files attached to notification emails, or a ZIP of many entries at once.
  • Storage in Amazon S3, Google Drive, OneDrive or a similar service, with the local copy removed.

The official add-ons and a typical third-party add-on cover some of these needs. The sections below use GravityExtra add-ons, each of which does one job and plugs into the standard File Upload field or adds its own field.

Rename, Resize and Copy Files to the Media Library

Use this when you want tidy file names and sensible image sizes. The Upload Tools add-on adds four tools to each File Upload field: file renaming, upload rules, image resizing and Media Library copies. You can turn each tool off for the whole site in Forms, Settings, Upload Tools, and they are on by default.

  1. Install and activate the Gravity Forms Upload Tools add-on and add your license key.
  2. Open your form in the editor and select the File Upload field.
  3. On the General tab, find the Upload Tools box.
  4. Switch on Rename uploaded files. In File name template, enter {entry_id}-{Company:3}-{filename}. Every Gravity Forms merge tag works, plus {filename}, {file_number} and {field_id}. The default template is {entry_id}-{filename}.
  5. Optionally set a Sub-folder template such as clients/{Company:3}. It is created inside the form’s upload folder.
  6. Switch on Apply upload rules. Set Minimum number of files, Min. image width (px), Min. image height (px), Max. image width (px), Max. image height (px) and Max. megapixels as needed.
  7. Switch on Resize large images. Set Max. width (px), Max. height (px) and Quality (1-100). If you leave quality empty, it uses 82.
  8. Switch on Add files to the Media Library. Optionally choose Attach to the post created from this entry and Set the first image as the featured image.
  9. Save the form and submit a test entry.

Visitors see the accepted types and your rules under the field, with a clear message for each rule that is not met. In the entry, the stored file has the new name, a Media Library box shows the copies, and notifications use the new names. The extension never changes, and a duplicate name gets a suffix such as -2 instead of overwriting.

For notifications and confirmations, use the merge tags {Label:ID:media_id}, {Label:ID:media_url} and {Label:ID:media_url_medium}. One limit to know: the add-on works on new submissions, so existing entries are not renamed. Deleting Media Library copies together with an entry is off by default, so switch it on only if you want that.

Upload Very Large Files Straight to Cloud Storage

Use this when visitors must send videos, scans or archives that are bigger than your server accepts. The Large File Uploads add-on adds a Large File Upload field, found under Advanced Fields. The browser sends the file in parts straight to your own bucket, so the file never passes through PHP.

  1. Go to Forms, Settings, Large File Uploads and find the Storage section.
  2. Under Service, choose Amazon S3, Cloudflare R2, Wasabi, Backblaze B2, DigitalOcean Spaces or Other S3-compatible service.
  3. Fill in Bucket, Region (or Cloudflare account ID for R2, or Endpoint URL for other services), Access key ID and Secret access key. The secret key is stored encrypted and is not shown again.
  4. Optionally set Folder in the bucket. You can use {form_id}, {field_id}, {Y}, {m} and {d}, and a random part is added to every file name.
  5. Click Test the connection. It saves a small test file in the bucket and deletes it again.
  6. Copy the CORS rule shown on the page into your bucket settings so browsers on your site may upload to it.
  7. In the form editor, add a Large File Upload field. Set the maximum file size and the maximum number of files (the default is 20) and the allowed extensions.
  8. Optionally switch on Delete the files from the bucket when an entry is deleted.

Visitors get a drop zone and a progress bar. Up to three parts upload at the same time, each part is retried three times, and the part size starts at 8 MiB. If the connection drops, the upload pauses and continues when the visitor is back online, or when they press Resume. After a page reload, choosing the same file again continues where it stopped.

The form cannot be sent while an upload is running or paused. Staff download files from the entry through signed links that last 10 minutes.

Crop and Rotate Images Before Upload

Use this for profile photos, product images or any field that needs a fixed shape. The Image Crop add-on opens an editor in the browser when someone picks a JPEG, PNG or WebP file. Nothing is sent to an outside service.

  1. Install and activate the Image Crop add-on.
  2. Optionally set site-wide editor defaults in Forms, Settings, Image Crop, including the editor accent colour (a hex value such as #2563eb) and the JPEG and WebP quality from 40 to 100.
  3. In the form editor, select a File Upload field and tick Let people crop and rotate images before upload.
  4. Under Aspect ratio, choose Square 1:1, Landscape 4:3, Landscape 3:2, Wide 16:9, Portrait 3:4, Portrait 2:3, Portrait 4:5, Tall 9:16, a custom ratio, or Free (people choose).
  5. For a profile photo, tick Round crop for profile photos. The ratio becomes 1:1.
  6. Set Minimum size (px) so the frame cannot go below the pixels you need, and Largest side (px) to scale big phone photos down before upload.
  7. Choose Save as: Same type as the photo, JPEG, PNG or WebP.
  8. Tick Check ratio and minimum size on the server if you want a second check when the form is sent.

The visitor drags the photo, zooms with a slider, the mouse wheel or two fingers, rotates left or right, flips the image and presses Use this image. Under the field they see a preview with Edit and Remove. In multi-file fields each image is edited before it uploads and gets an Edited badge. The entry lists what was done to each image, such as the crop, rotation and original and saved size.

Capture Photos With the Camera

Use this for damage reports, inspections, deliveries or ID checks, where the photo must be taken on the spot. The Photo Capture add-on adds a Photo Capture field in Advanced Fields.

  1. Install and activate the Photo Capture add-on. Your page must be served over HTTPS, or the browser will not allow the camera.
  2. In the form editor, add a Photo Capture field from Advanced Fields.
  3. Set Number of photos. One is the default, and the field allows up to ten.
  4. Under Camera on phones, choose Back camera or Front (selfie) camera.
  5. Under Guide on the camera, choose Face (oval) or Document or card (frame), or leave it off.
  6. Set Longest side of a photo (pixels). It defaults to 1600 and accepts values from 320 to 4096. Set JPEG quality (40-100), which defaults to 85.
  7. Tick Also allow uploading pictures if people may choose a photo already on their device.

Visitors press Take a photo, see thumbnails with remove buttons, and use Take it again on single-photo fields. Photos are saved as JPEG with GPS and camera details removed, shown as thumbnails in the entry and in notifications, and deleted with the entry.

Record Video and Voice Messages

Use this for video testimonials, job applications or support videos that show a problem. The Video Recording add-on adds a Video Recording field in Advanced Fields. Recordings are saved in the Gravity Forms upload folder of your own site.

  1. Install and activate the Video Recording add-on.
  2. In the form editor, add a Video Recording field from Advanced Fields.
  3. Choose the recording type: Video with sound or Sound only (voice message).
  4. Set Longest recording (seconds). The default is 120 and the limit is 3600.
  5. Set Largest file (MB). The default is 100, up to 2048, and it is also limited by what your server accepts.
  6. Under Camera on phones, choose Front (selfie) camera or Back camera.
  7. Optionally tick Also allow uploading an existing file. Video uploads accept MP4, MOV or WebM, and audio uploads accept MP3, M4A, OGG, WAV or WebM.
  8. Set Recordings one visitor can upload per hour to protect your server. It is counted per IP address.

The visitor presses Turn on camera, then Start recording. A timer runs and recording stops by itself at your limit. They can play the result and use Record again before submitting. In the entry you see a video or audio player, and the entry list has a Watch or Listen link. Recordings that are never submitted are removed after 24 hours.

Attach Files to Notifications and Download Them as a ZIP

Use this when your team wants the real files in the email, or needs to pull files from many entries at once. The Notification Attachments and Bulk Download add-on handles both. It needs the PHP zip extension for ZIP archives, and it shows a server check if the extension is missing.

  1. Install and activate the add-on, then add your license key in Forms, Settings, File Attachments.
  2. Open Forms, Settings, Notifications for your form and edit a notification.
  3. Switch on Attach uploaded files (GravityExtra).
  4. Under Files from these fields, choose the File Upload fields to attach.
  5. Under Send the files as, choose Separate attachments, One ZIP when they are larger than the size below, or Always one ZIP.
  6. Set Make a ZIP above (MB) and Largest attachment size (MB). Above the largest size, the email gets a secure download link instead. Most mail servers accept 10 to 25 MB.
  7. Set Download link works for (days). Place the link with {gfxat_download_link}, or let it be added at the end.

Your team also gets an Uploaded files box on every entry with file sizes and Download all as ZIP. On the Entries screen, select entries and use the Download files (ZIP) bulk action. You receive one archive with one folder per entry. A single bulk archive stops at 512 MB, so select fewer entries for very large batches.

Send Uploads to Amazon S3, Google Drive, OneDrive and Other Storage

Use this when files should live in the cloud rather than on your web server. Each storage add-on works as a feed on the form, so you choose per form which File Upload field to send and where.

Amazon S3

  1. Install the Amazon S3 Bucket add-on and open its settings. Enter Access Key, Secret Access Key and Region.
  2. Open your form, go to Settings and add an S3 Bucket feed.
  3. Tick Enable S3 Bucket and choose the File Upload Field.
  4. Choose the Bucket from the list.
  5. Optionally tick Enable Sub Folder and build the name with Sub Folder Name Using Merge Tags.
  6. Tick Send Link To Email if the notification should include the S3 link.

Google Drive and OneDrive

  1. Install the add-on. In its settings, choose a Connection Type: Automatic or Manual. Manual means you enter your own app credentials, such as the App Key and App Secret for OneDrive.
  2. Connect your account and approve access.
  3. In the form, add a feed. Choose the File Upload Field and a Destination Folder (Root) from your account.
  4. For Google Drive, use Enable Sub Folder and Sub Folder Name Using Merge Tags to create a folder per client or per entry.
  5. For OneDrive, use Set Level Folder (Level 0 to Level 3) to choose how deep the folder picker goes.

Cloudflare R2, Backblaze B2 and Wasabi

These three add-ons are simple feeds. You save the Access Key ID and Secret Access Key in the add-on settings. In the feed you give the feed a Name, enter the bucket name, choose the GF Form Field containing File Upload and, if you wish, tick Delete Local File After Offload. For R2 you also enter the Account ID Endpoint. After each submission the add-on sends the file and adds a note to the entry with the result.

About removing local files: the Google Drive and OneDrive add-ons remove the server copy after a successful upload, and the R2, B2 and Wasabi feeds do it only when you tick Delete Local File After Offload.

Comparison of GravityExtra Add-ons for Gravity Forms File Upload

Add-on What it does Price Link
Upload Tools Renames files with merge tags, sets image rules, resizes images and copies uploads to the Media Library $39/yr View add-on
Large File Uploads Sends very large files in parts straight to your own S3-compatible bucket, with resume $39/yr View add-on
Image Crop Crop, rotate and flip images in the browser, with fixed ratios and round crop $39/yr View add-on
Photo Capture Camera field that takes up to ten photos and strips metadata $39/yr View add-on
Video Recording Records video or voice messages in the form with a time limit $39/yr View add-on
Notification Attachments and Bulk Download Attaches uploads to emails and downloads entry files as a ZIP $39/yr View add-on
Amazon S3 Bucket Sends uploaded files to an S3 bucket with optional sub folders $39/yr View add-on
Google Drive Sends uploads to Google Drive folders, with merge tag sub folders $39/yr View add-on
OneDrive Sends uploads to OneDrive folders and saves the file link in the entry $39/yr View add-on
Cloudflare R2 (also Backblaze B2 and Wasabi) Simple feed that offloads a File Upload field to a bucket, with optional local delete $39/yr View add-on

Backblaze B2, Wasabi, Box and Dropbox also have their own add-ons, listed in the full add-on catalogue.

How to Choose

Start with the problem that hurts most today. If your Gravity Forms file upload field gives you messy names or huge images, begin with Upload Tools. If files are too big for your server, begin with Large File Uploads. If your team needs files in email, begin with Notification Attachments.

Add later: Image Crop for profile photos, Photo Capture or Video Recording when you need on-the-spot media, and a storage add-on when you want files outside your server. Use this checklist before you buy:

  • Which files do visitors upload, and how big can they be?
  • Do you need to control image size, ratio or file names?
  • Does the team read files in email, in the entry or in cloud storage?
  • Is your site on HTTPS? The camera and recorder need it.
  • Do you already have a bucket, or a Google or Microsoft account for storage?

Frequently Asked Questions

Can I rename Gravity Forms uploads automatically?

Yes. The Upload Tools add-on renames files with a template such as {entry_id}-{Company:3}-{filename}. The extension never changes and duplicates get a numbered suffix.

How do I allow files bigger than my server limit?

Use the Large File Uploads add-on. Its Large File Upload field sends files in parts from the browser to your own bucket, so your PHP upload limit does not apply.

Can visitors crop their photo before it uploads?

Yes. Tick Let people crop and rotate images before upload on a File Upload field. You can fix the ratio, set a minimum size and use a round crop.

Can I attach uploaded files to the admin notification?

Yes. Switch on Attach uploaded files (GravityExtra) in the notification, choose the fields and pick separate attachments or a ZIP. Files above your size limit are sent as a secure link.

Will the local file be deleted after upload to the cloud?

It depends on the add-on. Google Drive and OneDrive remove the local copy after a successful upload. For Cloudflare R2, Backblaze B2 and Wasabi, tick Delete Local File After Offload in the feed.

Do the camera and video fields work on phones?

Yes, on phones and computers, as long as your site uses HTTPS and the visitor allows camera access. You can let people upload a file instead.

Get the Add-ons

Most sites start with Upload Tools and add Large File Uploads or the Notification Attachments add-on when needs grow. Each add-on is $39/yr.

If you plan to combine several of these, such as cropping, a camera and cloud storage, the All-Access pass is simpler than buying one by one, because you can switch on each add-on as your forms change.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr