Crop Passport Document Photos Before Upload on Wix

We use CropGuide to crop a photo to Passport Document size before users upload photos to Wix

First we need to install CropGuide for Wix. Then we can set up Passport Document cropping. This will only take a couple of minutes.

If you’re unfamiliar with CropGuide you can try it out on the site

Choose the Passport Document aspect ratio

This guide uses an 125:88 crop ratio, approximating the physical proportions of an Passport Document. Confirm the requirements of the system receiving the upload before enforcing this ratio.

We can set the correct Passport Document aspect ratio in the CropGuide customer dashboard, this will make sure your customers always upload correctly sized images.

  1. Select your website in the Customer dashboard.
  2. Scroll towards the Configuration heading.
  3. Then find Crop Aspect Ratio heading just below it. A screenshot of the CropGuide dashboard showing a text input to set a custom crop aspect ratio
  4. Now we enter 125:88 as the aspect ratio, which reflects the Passport Document size in millimeters.
  5. Click Save.

Set minimum image dimensions

If you want to make sure images are of high enough quality you can optionally set the Minimum Crop Size field.

Now go to the form on your website, refresh the page so we’re sure our new settings have loaded.

Test the Passport Document upload field

When using the image upload field on your Wix website, CropGuide will now ensure every image is cropped to match the Passport Document aspect ratio of 125:88.

Your customers can now correctly crop and rotate pictures of their Passport Document saving you time having to crop the documents manually.

Try a CropGuide demo on the site, or reach out if you have any questions.

Related content