# Crop Identity Card Photos Before Upload on Bubble

We use CropGuide to **crop a photo to Identity Card size** before users **upload photos to Bubble**

First we need to [install CropGuide for Bubble](/integrations/bubble). Then we can set up Identity Card cropping. This will only take a couple of minutes.

If you’re unfamiliar with CropGuide you can [try it out on the site](/#demo)

## Choose the Identity Card aspect ratio

This guide uses an 99:67 crop ratio, approximating the physical proportions of an Identity Card. Confirm the requirements of the system receiving the upload before enforcing this ratio.

We can set the correct Identity Card aspect ratio in the [CropGuide customer dashboard](https://app.cropguide.io), 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](/media/dashboard-aspect-ratio.png)
4. Now we enter **99:67** as the aspect ratio, which reflects the **Identity Card** 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 Identity Card upload field

When using the image upload field on your Bubble website, CropGuide will now ensure every image is cropped to match the **Identity Card** aspect ratio of 99:67.

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

[Try a CropGuide demo on the site](/#demo), or [reach out](/contact/) if you have any questions.

### Related content

* [Add an Image Cropper to your Bubble site](/integrations/bubble/)
* [Crop PAN Card Photos Before Upload on Bubble](/integrations/bubble/crop-photo-to-pan-card-size/)
* [Crop Cédula Photos Before Upload on Bubble](/integrations/bubble/crop-photo-to-cedula-size/)
* [Crop Aadhaar Card Photos Before Upload on Bubble](/integrations/bubble/crop-photo-to-aadhaar-card-size/)
* [Crop Passport Document Photos Before Upload on Bubble](/integrations/bubble/crop-photo-to-passport-document-size/)
* [Crop Circular Profile Pictures on Bubble](/integrations/bubble/crop-circle-profile-picture/)
* [Convert HEIC/HEIF to JPEG Before Upload on Bubble](/integrations/bubble/convert-heic-to-jpeg-before-upload/)
* [Compress User Images Before Upload on Bubble](/integrations/bubble/compress-user-image-before-upload/)