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

Gravity Forms Image Crop: Let People Crop and Rotate Photos Before They Upload

GravityExtra
Gravity Forms Image Crop: Let People Crop and Rotate Photos Before They Upload

Every form that asks for a photo ends up with the same pile of work. A staff directory needs square headshots, but people send holiday snapshots in landscape. A real estate office wants listing photos in 4:3 for the gallery, and gets panoramas, portraits and one picture taken sideways. A school wants a passport-style photo for the ID card; a club wants a round avatar for the member page; a marketplace wants product photos that fit the grid. And almost every photo from a phone is 3,000 to 4,000 pixels wide and several megabytes, so the upload takes ages on mobile data.

Then someone on the team downloads each file, opens an image editor, crops, rotates, exports, and uploads it again. This guide shows how to let the people who fill in the form do that themselves, in the form, before the image is uploaded — with the Gravity Forms Image Crop Premium Add-on.

Why Crop Before the Upload?

Cropping after the upload is the usual answer, and it has three problems. The first is that the person who knows what matters in the photo is not the one cropping it: you might cut off the logo on the van, the second child in a family photo, or the front door of the house. The second is time: every image needs a manual step, and when there are dozens of entries a week that becomes a job of its own. The third is size: the full original is uploaded, stored and backed up, even though the website only ever shows a small part of it.

Cropping in the browser before upload fixes all three. The person choosing the photo decides what is in the frame, the image arrives in the shape your site needs, and it is scaled down before it travels, so uploads are faster and lighter.

Gravity Forms has a solid File Upload field with file types, size limits and multi-file uploads, but it does not edit images. That part comes from an add-on.

How the Image Crop Add-on Works

The add-on adds one checkbox to every File Upload field: Let people crop and rotate images before upload. With it on, choosing a JPEG, PNG or WebP image opens an editor over the page. The photo sits under a crop frame in the shape you set; people drag the photo, zoom with a slider, the mouse wheel or two fingers, resize the frame from its handles, rotate by 90° and flip. They click Use this image and the edited image takes the place of the original in the field, so Gravity Forms uploads exactly what they saw.

Image Crop editor dialog over a Gravity Forms form: a portrait photo under a round crop frame with handles, rotate left and right, flip horizontally and vertically, a zoom slider, Reset, the saved size 800 by 800 pixels, Cancel and Use this image
The editor: drag and zoom the photo under a round 1:1 frame, rotate or flip it; the saved size is shown.

It works with single-file fields and with multi-file fields. When several images are picked at once, each one is edited in turn before it is uploaded. Files that are not images, such as a PDF, are uploaded as usual.

Step-by-Step: Square Headshots and 4:3 Listing Photos

1. Turn the editor on for the headshot field

Select the File Upload field for the headshot and tick the checkbox. Choose Square 1:1 and Round crop for profile photos, a minimum size of 400 × 400 pixels so the photo is sharp on the team page, a largest side of 800 pixels, and Save as PNG so the corners outside the circle are transparent.

2. Turn it on for the listing photos

In the multi-file field for listing photos choose Landscape 4:3, a largest side of 1,600 pixels and Save as JPEG. A 4,032-pixel phone photo of a few megabytes becomes a crisp 1,600 × 1,200 JPEG of a few hundred kilobytes.

3. Leave the banner free

For an optional banner or cover image, keep the ratio on Free: the editor then shows ratio buttons (Free, 1:1, 4:3, 3:4 and 16:9), and people pick what suits their picture. If the image is optional, tick Open the editor only with the Edit button; the photo is shown as a preview first and people edit it only if they want to.

4. Switch on the server check

For the headshot and the listing photos tick Check ratio and minimum size on the server. The form then refuses any image that does not have the shape or the size, even if someone sends the form without the editor. This keeps your gallery consistent without anyone checking by hand.

Agent profile form with a round headshot preview marked Edited 800 by 800 pixels with Edit and Remove buttons, two listing photos uploaded with thumbnails marked Edited, an office banner preview saved as WebP and a field without the editor
After editing: a preview with Edit and Remove under single-file fields, thumbnails and an Edited badge in the multi-file list.

5. Look at the entry

The entry has the edited files like any other upload, and under each field a short record of what was done: “round crop · flipped · 2400 × 3000 → 800 × 800 px”. That makes it easy to see that the person really cropped the image and from what size.

Gravity Forms entry detail with the uploaded files and, under each upload field, a green box Edited in the browser before upload listing the crop, rotation, flip and the original and saved size of each image
The entry shows what was done to each image: crop shape, rotation, flip, original and saved size.

Where Teams Use It

Staff and member directories. HR teams, associations and schools collect one photo per person for a directory, a badge or an ID card. A round 1:1 crop with a minimum size gives every face the same frame, and nobody has to chase colleagues for a better picture.

Real estate and rentals. Agents and owners upload property photos from their phones. A 4:3 ratio and a largest side of 1,600 pixels make every gallery line up, and the server check stops a stray portrait photo from breaking the layout.

Marketplaces and directories. Vendors submit product or listing images through a Gravity Forms form. A square crop keeps the catalogue grid tidy, and WebP output keeps pages fast.

Events and speakers. Speaker forms ask for a headshot and a 16:9 cover for the session page. Two fields with two ratios mean the event team gets both shapes from one submission.

Claims, inspections and repairs. Field teams photograph damage on a phone and turn the picture the right way up before sending it. Rotation and a sensible largest side keep the photos readable without filling the server with huge files.

Tips for Teams That Collect Photos

Pick the ratio from where the image is shown. Team pages and avatars use 1:1, galleries and listings 4:3 or 3:2, banners and video covers 16:9, social stories 9:16, and printed portraits 4:5. If the image is used in several places, crop to the strictest one.

Set a minimum size for print. For an ID card or a printed directory, set a minimum size that matches the print size at 300 dpi; the editor will not let people zoom in so far that the image would look blurry.

Use the largest side to save space. The default of 2,400 pixels already turns most phone photos into files that are several times smaller. For thumbnails, 800 pixels is plenty.

PNG for round avatars, JPEG for photos, WebP for both. PNG keeps transparent corners; JPEG is the safest choice for photos; WebP is small and supports transparency, but only choose it when the systems that use the images later can read it.

Explain the shape in the field description. “A clear photo of your face. You can crop and rotate it after choosing it.” tells people what to expect before the editor opens.

Accessibility, Privacy and Speed

The editor is a proper dialog: focus moves into it, Tab stays inside, and Esc closes it. The photo can be moved with the arrow keys, zoomed with + and − and rotated with R, so people who do not use a mouse can crop too. On phones the dialog fills the screen, and dragging and pinching only act on the photo, not on the page.

Everything happens in the browser. The photo is not sent anywhere until the form uploads it, no outside service is involved and no third-party library is loaded. The edited image is drawn fresh, so camera metadata such as the GPS position where the photo was taken is not copied into the uploaded file — a quiet privacy win for staff and customers.

Get Images in the Right Shape, Every Time

Crop, rotate and zoom in the form, fixed ratios and round profile photos, smaller uploads and a server check — no outside service.

Frequently Asked Questions

Which image types can be edited?

JPEG, PNG and WebP. Other files, including GIF animations and PDFs, are uploaded without the editor.

Does it work with multi-file uploads?

Yes. Each image is edited before it is uploaded; several images picked at once are edited one after the other, and each gets a thumbnail and an Edited badge in the list.

Can people skip the editor?

Without the server check they can choose Use original. With the server check on, images that do not have the ratio or the minimum size are refused when the form is sent.

Does it work on phones?

Yes. The editor uses Pointer Events for mouse, touch and pen, fills the screen on small phones and supports pinch to zoom.

Is the original photo kept?

Only the edited image is uploaded. The entry records the size of the original and what was changed.

Which Gravity Forms version do I need?

Gravity Forms 2.9 or newer, any licence, with WordPress 6.5 and PHP 7.4 or newer.

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