> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.flycommerce.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Image Cropping

Before [uploading a product](https://help.dokan.co/en-us/article/how-to-create-a-product-in-dokan-cloud-1in3br/) image, you can customize the size of the image to optimize it better. Here is how you can crop an image before uploading.

After uploading the image, click on the Edit Image button-

![](https://storage.crisp.chat/users/helpdesk/website/-/e/9/3/6/e936202de1c3c800/5b6e3492-2a39-47ba-af63-62cb85_dkv3hv.png)

Then you will get the window to crop the image-

![](https://storage.crisp.chat/users/helpdesk/website/-/5/7/9/2/57926f5ed9f32800/47843b97-52c1-47dc-bef6-a832bb_6a9rml.png)

Now, drag your mouse to select the portion you want to crop. You can also resize the image manually as well. After that, click on the Apply Crop button to finish-

![](https://storage.crisp.chat/users/helpdesk/website/-/9/8/8/4/98840f55c5141800/9230b088-c904-44d6-b688-af8ec8_18ro9op.png)

The cropped version will create a new image. You can choose the image for your product image-

![](https://storage.crisp.chat/users/helpdesk/website/-/a/a/5/4/aa54afd4e42fe800/ad890bb6-aff1-49d7-b514-5365f6_1g8t474.png)
This is how you can crop an image before uploading