--- title: "Crop image (user)" slug: "frebehav-user-crop-image" updated: 2026-05-04T07:04:51Z published: 2026-05-04T07:04:51Z canonical: "docs.lobstersoftware.com/frebehav-user-crop-image" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Crop image (user) > [!NOTE] > A behavior that allows the user to crop an image directly. For this purpose, both the size of the "work area" and the initial cropping area can be specified. > > The cropped image, which corresponds to the size of the cropping area, is passed on to the actions as a FileInfo object if successful. --- > [!NOTE] > **NOTE:** > > *This behaviour type is only available, if the functional extension module "Document Management" is installed and licensed.* --- A dialog opens for the user to cut an area from an image based on the behavior settings. ![images/download/attachments/135168719/image-2023-3-31_12-48-43-version-1-modificationdate-1680259723194-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2023-3-31_12-48-43-version-1-modificationdate-1680259723194-api-v2.png) When pressing **Cancel**, the "false" actions are called with an empty input value. Otherwise, the "true" actions are called and the cut image is passed as a FileInfo object. ## Configuration ![images/download/attachments/135168719/image-2023-3-31_12-50-52-version-1-modificationdate-1680259852489-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2023-3-31_12-50-52-version-1-modificationdate-1680259852489-api-v2.png) **(1)** The initial crop section size. Height and width can be specified in each case as a calculation expression. **(2)** Width and height of the entire "work area". **NOTE:** it does not have to correspond to the size of the image, as the user can both zoom and scroll. **(3)** Determines whether the user is allowed to change the crop size themself. **(4)** Specifies the shape of the cropping area (available values are "Rectangle" and "Circle"). However, the image is always cropped as a rectangle.