Select your photo file to crop

In XnView, select the photo file that you want to crop.

Open your photo in viewer mode

Open the photo in viewer mode. Verify in settings that mouse is correctly configured to select area.

Select the area of your image to crop

Select the area of your image to crop with mouse (left button by default)

Choose Crop in menu or Alt+X

Choose Edit>Crop menu item or Alt+X shortcut

Result of image crop

Now your image is cropped